From: HYUNSANG HAN Date: Thu, 23 Apr 2020 14:25:03 +0000 (+0900) Subject: [tests] Fix the humanize test message (#5400) X-Git-Tag: 2.25.0~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2194fe73c92e11e245cf356a7a771da1bb5dd2d;p=thirdparty%2Fmoment.git [tests] Fix the humanize test message (#5400) --- diff --git a/src/test/moment/duration.js b/src/test/moment/duration.js index 3a6e9e161..135a9a3c2 100644 --- a/src/test/moment/duration.js +++ b/src/test/moment/duration.js @@ -456,7 +456,7 @@ test('humanize', function (assert) { assert.equal(moment.duration({days: 548}).humanize(), '2 years', '548 days = 2 years'); assert.equal(moment.duration({years: 1}).humanize(), 'a year', '1 year = a year'); assert.equal(moment.duration({years: 5}).humanize(), '5 years', '5 years = 5 years'); - assert.equal(moment.duration(7200000).humanize(), '2 hours', '7200000 = 2 minutes'); + assert.equal(moment.duration(7200000).humanize(), '2 hours', '7200000 = 2 hours'); }); test('humanize duration with suffix', function (assert) {