aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/loslib.test.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/loslib.test.js b/test/loslib.test.js
index 02735cb..e2b626e 100644
--- a/test/loslib.test.js
+++ b/test/loslib.test.js
@@ -120,6 +120,7 @@ test('os.time normalisation of table', () => {
assert(t.month == 2, "unmodified month")
assert(t.year == 2018, "unmodified year")
assert(t.wday == 3, "correct wday")
+ assert(t.yday == 51, "correct yday")
`;
lualib.luaL_openlibs(L);
expect(lauxlib.luaL_loadstring(L, to_luastring(luaCode))).toBe(lua.LUA_OK);