diff options
author | daurnimator <quae@daurnimator.com> | 2017-12-10 02:22:47 +1100 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-12-10 02:36:36 +1100 |
commit | a946df6302452323706f715a28029c63f766d1db (patch) | |
tree | 971f4f82ecb648dc08a96e1a1a25bc7ef1598a0c /tests/loslib.js | |
parent | fa8ba4f04623f66962c9fa2a502dd8d51a3eefa6 (diff) | |
download | fengari-a946df6302452323706f715a28029c63f766d1db.tar.gz fengari-a946df6302452323706f715a28029c63f766d1db.tar.bz2 fengari-a946df6302452323706f715a28029c63f766d1db.zip |
tests/: Fix linter complaints
Diffstat (limited to 'tests/loslib.js')
-rw-r--r-- | tests/loslib.js | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/tests/loslib.js b/tests/loslib.js index 5f49043..83d6c81 100644 --- a/tests/loslib.js +++ b/tests/loslib.js @@ -11,7 +11,7 @@ test('os.time', function (t) { let luaCode = ` return os.time() `, L; - + t.plan(3); t.doesNotThrow(function () { @@ -34,7 +34,6 @@ test('os.time', function (t) { lua.lua_isinteger(L, -1), "Correct element(s) on the stack" ); - }); @@ -46,7 +45,7 @@ test('os.time (with format)', function (t) { year = 2015 }) `, L; - + t.plan(3); t.doesNotThrow(function () { @@ -70,7 +69,6 @@ test('os.time (with format)', function (t) { new Date(2015, 1, 8, 12, 0, 0, 0).getTime() / 1000, "Correct element(s) on the stack" ); - }); @@ -80,7 +78,7 @@ test('os.difftime', function (t) { local t2 = os.time() return os.difftime(t2, t1) `, L; - + t.plan(3); t.doesNotThrow(function () { @@ -103,7 +101,6 @@ test('os.difftime', function (t) { lua.lua_isnumber(L, -1), "Correct element(s) on the stack" ); - }); @@ -115,7 +112,7 @@ test('os.date', function (t) { year = 2015 })) `, L; - + t.plan(3); t.doesNotThrow(function () { @@ -139,7 +136,6 @@ test('os.date', function (t) { "2015-02-08", "Correct element(s) on the stack" ); - }); @@ -147,7 +143,7 @@ test('os.getenv', function (t) { let luaCode = ` return os.getenv('PATH') `, L; - + t.plan(3); t.doesNotThrow(function () { @@ -170,5 +166,4 @@ test('os.getenv', function (t) { lua.lua_isstring(L, -1), "Correct element(s) on the stack" ); - }); |