From: Nicholas Bollweg Date: Wed, 14 Aug 2013 18:26:01 +0000 (-0400) Subject: expecting wrong number of tests X-Git-Tag: 2.3.0~10^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5eb589690da2153c540ce96cc05c7e479e271412;p=thirdparty%2Fmoment.git expecting wrong number of tests --- diff --git a/test/moment/duration.js b/test/moment/duration.js index 0294de4fa..afa42ffc5 100644 --- a/test/moment/duration.js +++ b/test/moment/duration.js @@ -210,7 +210,7 @@ exports.duration = { }, "serialization to ISO 8601 duration strings" : function (test) { - test.expect(4); + test.expect(5); test.equal(moment.duration({y: 1, M: 2, d: 3, h: 4, m: 5, s: 6}).toIsoString(), "P1Y2M3DT4H5M6S", "all fields"); test.equal(moment.duration({M: -1}).toIsoString(), "-P1M", "one month ago"); test.equal(moment.duration({m: -1}).toIsoString(), "-PT1M", "one minute ago");