|
2 | 2 | module("About Equality (topics/about_equality.js)"); |
3 | 3 |
|
4 | 4 | test("numeric equality", function() { |
5 | | - equals(3 + __, 7, 'hmmmm?'); |
| 5 | + equals(3 + 4, 7, 'hmmmm?'); |
6 | 6 | }); |
7 | 7 |
|
8 | 8 | test("string equality", function() { |
9 | | - equals("3" + __, "37", "concatenate the strings"); |
| 9 | + equals("3" + "7", "37", "concatenate the strings"); |
10 | 10 | }); |
11 | 11 |
|
12 | 12 | test("equality without type coercion", function() { |
13 | | - ok(3 === __, 'what is exactly equal to 3?'); |
| 13 | + ok(3 === 3, 'what is exactly equal to 3?'); |
14 | 14 | }); |
15 | 15 |
|
16 | 16 | test("equality with type coercion", function() { |
17 | | - ok(3 == "__", 'what string is equal to 3, with type coercion?'); |
| 17 | + ok(3 == "3", 'what string is equal to 3, with type coercion?'); |
18 | 18 | }); |
19 | 19 |
|
20 | 20 | test("string literals", function() { |
21 | | - equals("frankenstein", '__', "quote types are interchangable, but must match."); |
| 21 | + equals("frankenstein", 'frankenstein', "quote types are interchangable, but must match."); |
22 | 22 | }); |
0 commit comments