]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
[misc] Fix lazy-load test (#4466)
authorKunal Marwaha <marwahaha@berkeley.edu>
Fri, 2 Mar 2018 20:28:55 +0000 (12:28 -0800)
committerGitHub <noreply@github.com>
Fri, 2 Mar 2018 20:28:55 +0000 (12:28 -0800)
src/test/moment/locale_inheritance.js

index 133bb58b0d6b7a0916fc488210874688a9c37f8a..a1e4a4613a2b9187759ad05f4bc24209b04fc532 100644 (file)
@@ -185,8 +185,6 @@ test('define child locale before parent', function (assert) {
 });
 
 test('lazy load parentLocale', function (assert) {
-    moment.defineLocale('de', null);
-
     moment.defineLocale('de_test', {
         parentLocale: 'de',
         monthsShort: ['M1', 'M2', 'M3', 'M4', 'M5', 'M6', 'M7', 'M8', 'M9', 'M10', 'M11', 'M12']