aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/loslib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/loslib.js b/tests/loslib.js
index 36a22e2..8555bc4 100644
--- a/tests/loslib.js
+++ b/tests/loslib.js
@@ -61,7 +61,7 @@ test('os.time (with format)', function (t) {
t.strictEqual(
lua.lua_tointeger(L, -1),
- 1423393200,
+ new Date(2015, 1, 8, 12, 0, 0, 0).getTime() / 1000,
"Correct element(s) on the stack"
);