From: Iskren Chernev Date: Mon, 4 May 2015 16:23:41 +0000 (-0700) Subject: Fix broken tests X-Git-Tag: 2.10.3~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a65cbb8c35ed0f7b8187c139cd82b3f7af1cb246;p=thirdparty%2Fmoment.git Fix broken tests --- diff --git a/src/test/moment/locale.js b/src/test/moment/locale.js index 70247d3c6..39384d350 100644 --- a/src/test/moment/locale.js +++ b/src/test/moment/locale.js @@ -237,8 +237,8 @@ test('duration deprecations', function (assert) { }); test('from and fromNow with invalid date', function (assert) { - assert.equal(moment(NaN).from(), 'Invalid Date', 'moment.from with invalid moment'); - assert.equal(moment(NaN).fromNow(), 'Invalid Date', 'moment.fromNow with invalid moment'); + assert.equal(moment(NaN).from(), 'Invalid date', 'moment.from with invalid moment'); + assert.equal(moment(NaN).fromNow(), 'Invalid date', 'moment.fromNow with invalid moment'); }); test('from relative time future', function (assert) {