]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
expecting wrong number of tests
authorNicholas Bollweg <nicholas.bollweg@gtri.gatech.edu>
Wed, 14 Aug 2013 18:26:01 +0000 (14:26 -0400)
committerNicholas Bollweg <nicholas.bollweg@gtri.gatech.edu>
Wed, 14 Aug 2013 18:26:01 +0000 (14:26 -0400)
test/moment/duration.js

index 0294de4fa3cebc93c9dca4959b3af1a3fc550655..afa42ffc5a4345ccb94d4867bc17823aec47ad56 100644 (file)
@@ -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");