From: Tim Wood Date: Wed, 25 Jul 2012 17:40:19 +0000 (-0700) Subject: Test messages were not accurate to the tests #364 X-Git-Tag: 1.7.0~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d620e68453a3354cc04f9d9efe794c354fdcfc1f;p=thirdparty%2Fmoment.git Test messages were not accurate to the tests #364 --- diff --git a/test/moment/days_in_month.js b/test/moment/days_in_month.js index 52be9b401..ffa254673 100644 --- a/test/moment/days_in_month.js +++ b/test/moment/days_in_month.js @@ -19,8 +19,8 @@ exports.days_in_month = { "days in month leap years" : function(test) { test.expect(4); - test.equal(moment([2010, 1]).daysInMonth(), 28, "Feb 2010 should have 29 days"); - test.equal(moment([2100, 1]).daysInMonth(), 28, "Feb 2100 should have 29 days"); + test.equal(moment([2010, 1]).daysInMonth(), 28, "Feb 2010 should have 28 days"); + test.equal(moment([2100, 1]).daysInMonth(), 28, "Feb 2100 should have 28 days"); test.equal(moment([2008, 1]).daysInMonth(), 29, "Feb 2008 should have 29 days"); test.equal(moment([2000, 1]).daysInMonth(), 29, "Feb 2000 should have 29 days"); test.done();