summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorKonstantin Molchanov <moigagoo@live.com>2017-03-27 21:28:31 +0400
committerKonstantin Molchanov <moigagoo@live.com>2017-03-27 21:28:31 +0400
commit41e83f7a34f11ea09accaa7d8667ccbabeb0eccf (patch)
tree1141a5f524204c7b06ff381cd6e857347d13ac21 /tests
parent1a5e880f5a93bfc0b629a3fc24fc57ada1c31a1f (diff)
downloadNim-41e83f7a34f11ea09accaa7d8667ccbabeb0eccf.tar.gz
Tests: Times: JS: Fix test.
Diffstat (limited to 'tests')
-rw-r--r--tests/js/ttimes.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/js/ttimes.nim b/tests/js/ttimes.nim
index a39ebe0b3..644e9670a 100644
--- a/tests/js/ttimes.nim
+++ b/tests/js/ttimes.nim
@@ -10,4 +10,4 @@ import times
 
 block yeardayTest:
   # check if yearday attribute is properly set on TimeInfo creation
-  doAssert fromSeconds(2147483647).getGMTime().yearday == 0
+  doAssert fromSeconds(2147483647).getGMTime().yearday == 18