From e2194fe73c92e11e245cf356a7a771da1bb5dd2d Mon Sep 17 00:00:00 2001 From: HYUNSANG HAN Date: Thu, 23 Apr 2020 23:25:03 +0900 Subject: [PATCH] [tests] Fix the humanize test message (#5400) --- src/test/moment/duration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.47.3