From: Rocky Meza Date: Fri, 3 Aug 2012 04:14:47 +0000 (-0600) Subject: more comprehensive tests for #380 X-Git-Tag: 1.7.1~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e1b200d94a09c8014c3ae4758a480d0cc600004;p=thirdparty%2Fmoment.git more comprehensive tests for #380 --- diff --git a/test/moment/format.js b/test/moment/format.js index 1ca774f2f..3fe3f745e 100644 --- a/test/moment/format.js +++ b/test/moment/format.js @@ -19,7 +19,7 @@ exports.format = { test.equal(b.format('[[YY]]'), '[YY]', 'Double nested brackets'); test.equal(b.format('[[]'), '[', 'Escape open bracket'); test.equal(b.format('[Last]'), 'Last', 'localized tokens'); - test.equal(b.format('[LLL]'), 'LLL', 'localized tokens'); + test.equal(b.format('[L] L'), 'L 02/14/2009', 'localized tokens with escaped localized tokens'); test.done(); },