]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Remove duplicate unit test
authorMatt Johnson <mj1856@hotmail.com>
Sun, 13 Mar 2016 19:17:29 +0000 (12:17 -0700)
committerIskren Chernev <iskren.chernev@gmail.com>
Thu, 24 Mar 2016 10:54:09 +0000 (03:54 -0700)
This is already in common-locale.js and runs for all locales

src/test/locale/pa-in.js

index 99bce6d35ddcf03d7de7b02065d6da7e7c7a2e9b..074b7e2d1970e7e7fc75c6fcec2676eeefaa26ff 100644 (file)
@@ -311,18 +311,6 @@ test('lenient ordinal parsing of number', function (assert) {
     }
 });
 
-test('meridiem', function (assert) {
-    var h, m, t1, t2;
-    for (h = 0; h < 24; ++h) {
-        for (m = 0; m < 60; m += 15) {
-            t1 = moment.utc([2000, 0, 1, h, m]);
-            t2 = moment(t1.format('A h:mm'), 'A h:mm');
-            assert.equal(t2.format('HH:mm'), t1.format('HH:mm'),
-                    'meridiem at ' + t1.format('HH:mm'));
-        }
-    }
-});
-
 test('strict ordinal parsing', function (assert) {
     var i, ordinalStr, testMoment;
     for (i = 1; i <= 31; ++i) {