]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
jslint must be appeased... again... again
authorNicholas Bollweg <nicholas.bollweg@gtri.gatech.edu>
Wed, 14 Aug 2013 18:21:52 +0000 (14:21 -0400)
committerNicholas Bollweg <nicholas.bollweg@gtri.gatech.edu>
Wed, 14 Aug 2013 18:21:52 +0000 (14:21 -0400)
test/moment/duration.js

index c0457659a7a5ae2c454a409d182d2372bfc3008a..0294de4fa3cebc93c9dca4959b3af1a3fc550655 100644 (file)
@@ -215,7 +215,7 @@ exports.duration = {
         test.equal(moment.duration({M: -1}).toIsoString(), "-P1M", "one month ago");
         test.equal(moment.duration({m: -1}).toIsoString(), "-PT1M", "one minute ago");
         test.equal(moment.duration({s: -1}).toIsoString(), "-PT0.5S", "one half second ago");
-        test.equal(moment.duration({y: -0.5, M: 1}).toIsoString() , "-P5M", "a month after half a year ago");
+        test.equal(moment.duration({y: -0.5, M: 1}).toIsoString(), "-P5M", "a month after half a year ago");
         test.done();
     },