From a65cbb8c35ed0f7b8187c139cd82b3f7af1cb246 Mon Sep 17 00:00:00 2001 From: Iskren Chernev Date: Mon, 4 May 2015 09:23:41 -0700 Subject: [PATCH] Fix broken tests --- src/test/moment/locale.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.47.2