Skip to content

Commit 2d872d9

Browse files
authored
Fix incorrect example of a Coffeescript assertion
1 parent 4b650e0 commit 2d872d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code_challenge_examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ coffeescript:
186186
Test.it "Should return something that isn't falsy", ->
187187
Test.expect results1, "Something is wrong, twoOldestAges([1,5,87,45,8,8]) has no results!"
188188
Test.it "Should return [45,87]", ->
189-
Test.assertEquals results1[0] == 45, "twoOldestAges([1,5,87,45,8,8]) should return 45 as the second highest result"
189+
Test.assertEquals results1[0], 45, "twoOldestAges([1,5,87,45,8,8]) should return 45 as the second highest result"
190190
Test.assertEquals results1[1], 87, "twoOldestAges([1,5,87,45,8,8]) should return 87 as the second highest result"
191191
192192
Test.describe "twoOldestAges([6,5,83,5,3,18])", ->

0 commit comments

Comments
 (0)