]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
fix 1596/head
authorAlexey Kozlov <ozon1234@gmail.com>
Wed, 9 Apr 2014 09:46:12 +0000 (02:46 -0700)
committerAlexey Kozlov <ozon1234@gmail.com>
Wed, 9 Apr 2014 09:46:12 +0000 (02:46 -0700)
test/lang/ru.js

index a0d542e304826ddc03d2c49a0821ba7f872acd5c..d380f781b7ff5872c71d3b22e6ca67eaba01fa4a 100644 (file)
@@ -265,8 +265,8 @@ exports["lang:ru"] = {
         test.expect(4);
         test.equal(moment().add({s: 30}).fromNow(), "через несколько секунд", "in seconds");
         test.equal(moment().add({d: 5}).fromNow(), "через 5 дней", "in 5 days");
-        test.equal(moment().add({m: 31}).fromNow(), "31 минуту назад", "31 minutes ago = 31 minutes ago");
-        test.equal(moment().subtract({m: 31}).fromNow(), "через 31 минуту", "in 31 minutes = in 31 minutes");
+        test.equal(moment().add({m: 31}).fromNow(), "через 31 минуту", "in 31 minutes = in 31 minutes");
+        test.equal(moment().subtract({m: 31}).fromNow(), "31 минуту назад", "31 minutes ago = 31 minutes ago");
         test.done();
     },