From: Tim Fish Date: Sun, 5 Mar 2017 22:31:04 +0000 (+0100) Subject: revert two missed files X-Git-Tag: 2.18.0~18^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=197f989c1ade6da99d5c1a21d1c1eaf4bbe26b21;p=thirdparty%2Fmoment.git revert two missed files --- diff --git a/src/test/locale/de-at.js b/src/test/locale/de-at.js index 3a732018c..85afe11cb 100644 --- a/src/test/locale/de-at.js +++ b/src/test/locale/de-at.js @@ -203,11 +203,3 @@ test('weeks year starting sunday formatted', function (assert) { assert.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2.', 'Jan 9 2012 should be week 2'); assert.equal(moment([2012, 0, 15]).format('w ww wo'), '2 02 2.', 'Jan 15 2012 should be week 2'); }); - -test('valid localeData', function (assert) { - assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); - assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); - assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); - assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); - assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); -}); diff --git a/src/test/locale/dv.js b/src/test/locale/dv.js index 4eb90ae4c..071ea3971 100644 --- a/src/test/locale/dv.js +++ b/src/test/locale/dv.js @@ -202,11 +202,3 @@ test('weeks year starting sunday formatted', function (assert) { assert.equal(moment([2012, 0, 9]).format('w ww wo'), '2 02 2', 'Jan 9 2012 should be week 2'); assert.equal(moment([2012, 0, 15]).format('w ww wo'), '3 03 3', 'Jan 15 2012 should be week 3'); }); - -test('valid localeData', function (assert) { - assert.equal(moment().localeData().months().length, 12, 'months should return 12 months'); - assert.equal(moment().localeData().monthsShort().length, 12, 'monthsShort should return 12 months'); - assert.equal(moment().localeData().weekdays().length, 7, 'weekdays should return 7 days'); - assert.equal(moment().localeData().weekdaysShort().length, 7, 'weekdaysShort should return 7 days'); - assert.equal(moment().localeData().weekdaysMin().length, 7, 'monthsShort should return 7 days'); -});