summaryrefslogtreecommitdiff
path: root/tests/ltm.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-12-10 02:22:47 +1100
committerdaurnimator <quae@daurnimator.com>2017-12-10 02:36:36 +1100
commita946df6302452323706f715a28029c63f766d1db (patch)
tree971f4f82ecb648dc08a96e1a1a25bc7ef1598a0c /tests/ltm.js
parentfa8ba4f04623f66962c9fa2a502dd8d51a3eefa6 (diff)
downloadfengari-a946df6302452323706f715a28029c63f766d1db.tar.gz
fengari-a946df6302452323706f715a28029c63f766d1db.tar.bz2
fengari-a946df6302452323706f715a28029c63f766d1db.zip
tests/: Fix linter complaints
Diffstat (limited to 'tests/ltm.js')
-rw-r--r--tests/ltm.js34
1 files changed, 17 insertions, 17 deletions
diff --git a/tests/ltm.js b/tests/ltm.js
index 86fa52c..0d9bc1a 100644
--- a/tests/ltm.js
+++ b/tests/ltm.js
@@ -12,7 +12,7 @@ test('__index, __newindex: with actual table', function (t) {
local t = {yo=1}
return t.yo, t.lo
`, L;
-
+
t.plan(3);
t.doesNotThrow(function () {
@@ -42,7 +42,7 @@ test('__newindex: with non table', function (t) {
local t = "a string"
t.yo = "hello"
`, L;
-
+
t.plan(2);
t.doesNotThrow(function () {
@@ -73,7 +73,7 @@ test('__index function in metatable', function (t) {
return t.yo
`, L;
-
+
t.plan(3);
t.doesNotThrow(function () {
@@ -113,7 +113,7 @@ test('__newindex function in metatable', function (t) {
return t.yo
`, L;
-
+
t.plan(3);
t.doesNotThrow(function () {
@@ -151,7 +151,7 @@ test('__index table in metatable', function (t) {
return t.yo
`, L;
-
+
t.plan(3);
t.doesNotThrow(function () {
@@ -192,7 +192,7 @@ test('__newindex table in metatable', function (t) {
return t.yo, mmt.yo
`, L;
-
+
t.plan(4);
t.doesNotThrow(function () {
@@ -244,7 +244,7 @@ test('__index table with own metatable', function (t) {
return t.yo
`, L;
-
+
t.plan(3);
t.doesNotThrow(function () {
@@ -295,7 +295,7 @@ test('__newindex table with own metatable', function (t) {
return t.yo, up
`, L;
-
+
t.plan(4);
t.doesNotThrow(function () {
@@ -394,7 +394,7 @@ test('binary __xxx functions in metatable', function (t) {
t << 1,
t >> 1
`, L;
-
+
t.plan(3);
t.doesNotThrow(function () {
@@ -444,7 +444,7 @@ test('__eq', function (t) {
return t == {}
`, L;
-
+
t.plan(3);
t.doesNotThrow(function () {
@@ -480,7 +480,7 @@ test('__lt', function (t) {
return t < {}
`, L;
-
+
t.plan(3);
t.doesNotThrow(function () {
@@ -516,7 +516,7 @@ test('__le', function (t) {
return t <= {}
`, L;
-
+
t.plan(3);
t.doesNotThrow(function () {
@@ -552,7 +552,7 @@ test('__le that uses __lt', function (t) {
return {} <= t
`, L;
-
+
t.plan(3);
t.doesNotThrow(function () {
@@ -592,7 +592,7 @@ test('__unm, __bnot', function (t) {
return -t, ~t
`, L;
-
+
t.plan(4);
t.doesNotThrow(function () {
@@ -635,7 +635,7 @@ test('__len', function (t) {
return #t
`, L;
-
+
t.plan(3);
t.doesNotThrow(function () {
@@ -672,7 +672,7 @@ test('__concat', function (t) {
return t .. " world"
`, L;
-
+
t.plan(3);
t.doesNotThrow(function () {
@@ -709,7 +709,7 @@ test('__call', function (t) {
return t("world","wow")
`, L;
-
+
t.plan(3);
t.doesNotThrow(function () {