]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Make jscs happy 1848/head
authorIskren Chernev <iskren.chernev@gmail.com>
Fri, 5 Sep 2014 04:52:36 +0000 (21:52 -0700)
committerIskren Chernev <iskren.chernev@gmail.com>
Fri, 5 Sep 2014 04:52:36 +0000 (21:52 -0700)
test/moment/diff.js

index 0e3de1ee7401d6646d68f450b5772cc5a3068e63..d5832f252181d82ab6724f0ad55e91cc5f02729a 100644 (file)
@@ -226,7 +226,7 @@ exports.diff = {
         test.done();
     },
 
-    "exact month diffs" : function (test) {
+    'exact month diffs' : function (test) {
         // generate all pairs of months and compute month diff, with fixed day
         // of month = 15.
 
@@ -234,13 +234,13 @@ exports.diff = {
         for (m1 = 0; m1 < 12; ++m1) {
             for (m2 = m1; m2 < 12; ++m2) {
                 test.equal(moment([2013, m2, 15]).diff(moment([2013, m1, 15]), 'months', true), m2 - m1,
-                        "month diff from 2013-" + m1 + "-15 to 2013-" + m2 + "-15");
+                        'month diff from 2013-' + m1 + '-15 to 2013-' + m2 + '-15');
             }
         }
         test.done();
     },
 
-    "year diffs" : function (test) {
+    'year diffs' : function (test) {
         test.expect(10);
 
         // due to floating point math errors, these tests just need to be accurate within 0.00000001