]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Run prettier fmt ka-tests 5536/head
authorKunal Marwaha <marwahaha@berkeley.edu>
Sun, 17 May 2020 11:18:04 +0000 (04:18 -0700)
committerKunal Marwaha <marwahaha@berkeley.edu>
Sun, 17 May 2020 11:26:12 +0000 (04:26 -0700)
src/test/helpers/common-locale.js

index aab29620d8ec015e360fd625440883bec9c3c2bb..4d21fc88d0de9fce4c30eda057ceb973623d407f 100644 (file)
@@ -111,7 +111,11 @@ export function defineCommonLocaleTests(locale, options) {
             r = moment(m.format(format), format);
             assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format);
             r = moment(m.format(format).toLocaleUpperCase(), format);
-            assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper');
+            assert.equal(
+                r.month(),
+                m.month(),
+                'month ' + i + ' fmt ' + format + ' upper'
+            );
             r = moment(m.format(format).toLocaleLowerCase(), format);
             assert.equal(
                 r.month(),
@@ -120,9 +124,17 @@ export function defineCommonLocaleTests(locale, options) {
             );
 
             r = moment(m.format(format), format, true);
-            assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' strict');
+            assert.equal(
+                r.month(),
+                m.month(),
+                'month ' + i + ' fmt ' + format + ' strict'
+            );
             r = moment(m.format(format).toLocaleUpperCase(), format, true);
-            assert.equal(r.month(), m.month(), 'month ' + i + ' fmt ' + format + ' upper strict');
+            assert.equal(
+                r.month(),
+                m.month(),
+                'month ' + i + ' fmt ' + format + ' upper strict'
+            );
             r = moment(m.format(format).toLocaleLowerCase(), format, true);
             assert.equal(
                 r.month(),