Skip to content

Commit 7eea52c

Browse files
committed
All equality tests are passing.
1 parent 2a0cd0a commit 7eea52c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

topics/about_equality.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ $(document).ready(function(){
88
});
99

1010
test("string equality", function() {
11-
equals("3" + __, "37", "concatenate the strings");
11+
equals("3" + "7", "37", "concatenate the strings");
1212
});
1313

1414
test("equality without type coercion", function() {
15-
ok(3 === __, 'what is exactly equal to 3?');
15+
ok(3 === 3, 'what is exactly equal to 3?');
1616
});
1717

1818
test("equality with type coercion", function() {
19-
ok(3 == "__", 'what string is equal to 3, with type coercion?');
19+
ok(3 == "3", 'what string is equal to 3, with type coercion?');
2020
});
2121

2222
test("string literals", function() {
23-
equals("frankenstein", '__', "quote types are interchangable, but must match.");
23+
equals("frankenstein", 'frankenstein', "quote types are interchangable, but must match.");
2424
});
2525

2626
});

0 commit comments

Comments
 (0)