From: And-re Date: Sat, 23 Nov 2013 04:33:13 +0000 (+0100) Subject: Add 2 additional tests for Polish language X-Git-Tag: 2.5.0^2~27^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2da08c94599e77ca027044b93927c0146a1e415c;p=thirdparty%2Fmoment.git Add 2 additional tests for Polish language --- diff --git a/test/lang/pl.js b/test/lang/pl.js index 3b2e63ee0..ea747a720 100644 --- a/test/lang/pl.js +++ b/test/lang/pl.js @@ -133,7 +133,7 @@ exports["lang:pl"] = { }, "from" : function (test) { - test.expect(32); + test.expect(34); var start = moment([2007, 1, 28]); test.equal(start.from(moment([2007, 1, 28]).add({s: 44}), true), "kilka sekund", "44 seconds = a few seconds"); @@ -167,7 +167,9 @@ exports["lang:pl"] = { test.equal(start.from(moment([2007, 1, 28]).add({y: 1}), true), "rok", "1 year = a year"); test.equal(start.from(moment([2007, 1, 28]).add({y: 5}), true), "5 lat", "5 years = 5 years"); test.equal(start.from(moment([2007, 1, 28]).add({y: 112}), true), "112 lat", "112 years = 112 years"); + test.equal(start.from(moment([2007, 1, 28]).add({y: 122}), true), "122 lata", "122 years = 122 years"); test.equal(start.from(moment([2007, 1, 28]).add({y: 213}), true), "213 lat", "213 years = 213 years"); + test.equal(start.from(moment([2007, 1, 28]).add({y: 223}), true), "223 lata", "223 years = 223 years"); test.done(); },