]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Fix comment
authorAsh Searle <ash@hexmen.com>
Wed, 26 Jul 2017 07:37:47 +0000 (08:37 +0100)
committerIskren Chernev <iskren.chernev@gmail.com>
Mon, 7 Aug 2017 18:52:33 +0000 (21:52 +0300)
src/test/moment/create.js

index f0e72602777d9dc10d249243442211aef28c3186..cc29957d202b1ff1745a4894ba2b5e7af5eceecd 100644 (file)
@@ -440,7 +440,7 @@ test('explicit cloning', function (assert) {
     var momentA = moment([2011, 10, 10]),
     momentB = momentA.clone();
     momentA.month(5);
-    assert.notEqual(momentA.month(), momentB.month(), 'Calling moment() on a moment will create a clone');
+    assert.notEqual(momentA.month(), momentB.month(), 'Calling clone() on a moment will create a clone');
 });
 
 test('cloning carrying over utc mode', function (assert) {