Skip to content

Commit 7336e57

Browse files
committed
Fix Koan 4 on Truthyness
1 parent 2fe5e74 commit 7336e57

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

topics/about_truthyness.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ module("About Truthyness (topics/about_truthyness.js)");
33

44
test("truthyness of positive numbers", function() {
55
var oneIsTruthy = 1 ? true : false;
6-
equal(__, oneIsTruthy, 'is one truthy?');
6+
equal(true, oneIsTruthy, 'is one truthy?');
77
});
88

99
test("truthyness of negative numbers", function() {
1010
var negativeOneIsTruthy = -1 ? true : false;
11-
equal(__, negativeOneIsTruthy, 'is -1 truthy?');
11+
equal(true, negativeOneIsTruthy, 'is -1 truthy?');
1212
});
1313

1414
test("truthyness of zero", function() {
1515
var zeroIsTruthy = 0 ? true : false;
16-
equal(__, zeroIsTruthy, 'is 0 truthy?');
16+
equal(false, zeroIsTruthy, 'is 0 truthy?');
1717
});
1818

1919
test("truthyness of null", function() {
2020
var nullIsTruthy = null ? true : false;
21-
equal(__, nullIsTruthy, 'is null truthy?');
21+
equal(false, nullIsTruthy, 'is null truthy?');
2222
});

0 commit comments

Comments
 (0)