aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/date/core.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/date/core.js')
-rw-r--r--tests/unit/date/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/date/core.js b/tests/unit/date/core.js
index b04531593..2c32c70d2 100644
--- a/tests/unit/date/core.js
+++ b/tests/unit/date/core.js
@@ -154,7 +154,7 @@ test( "Months", 5, function() {
ok( lastMonth.last );
ok( !lastMonth.first );
- ok( firstMonth.month() === lastMonth.month() - 1 );
+ equal( firstMonth.month(), lastMonth.month() - 1 );
} );
test( "Equal", 4, function() {