]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Improve comments in a few tests
authorIskren Chernev <iskren.chernev@gmail.com>
Thu, 3 Jul 2014 07:37:13 +0000 (00:37 -0700)
committerIskren Chernev <iskren.chernev@gmail.com>
Thu, 3 Jul 2014 07:37:13 +0000 (00:37 -0700)
test/moment/zone_switching.js

index f72cf8c5666cf1c8cf11e81a65aafcadd866b9f1..43797aa931a8339f7216dbbfb202c3129817b74b 100644 (file)
@@ -88,7 +88,7 @@ exports.zoneSwitching = {
             m.zone(z * 60);
 
             test.equal(m.clone().local(true).format(fmt), m.format(fmt),
-                    "zone(" + z + ":00) to local failed to keep the local time");
+                    "zone(" + z + ":00) to local failed to keep local time");
         }
 
         test.done();
@@ -105,9 +105,9 @@ exports.zoneSwitching = {
             m.zone(z * 60);
 
             test.equal(m.clone().local(false).valueOf(), m.valueOf(),
-                    "zone(" + z + ":00) to local failed to keep the local time (explicit)");
+                    "zone(" + z + ":00) to local failed to keep utc time (explicit)");
             test.equal(m.clone().local().valueOf(), m.valueOf(),
-                    "zone(" + z + ":00) to local failed to keep the local time (implicit)");
+                    "zone(" + z + ":00) to local failed to keep utc time (implicit)");
         }
 
         test.done();