summaryrefslogtreecommitdiff
path: root/tests/lutf8lib.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/lutf8lib.js
parentfa8ba4f04623f66962c9fa2a502dd8d51a3eefa6 (diff)
downloadfengari-a946df6302452323706f715a28029c63f766d1db.tar.gz
fengari-a946df6302452323706f715a28029c63f766d1db.tar.bz2
fengari-a946df6302452323706f715a28029c63f766d1db.zip
tests/: Fix linter complaints
Diffstat (limited to 'tests/lutf8lib.js')
-rw-r--r--tests/lutf8lib.js15
1 files changed, 5 insertions, 10 deletions
diff --git a/tests/lutf8lib.js b/tests/lutf8lib.js
index cff7472..ae40d3c 100644
--- a/tests/lutf8lib.js
+++ b/tests/lutf8lib.js
@@ -10,7 +10,7 @@ test('utf8.offset', function (t) {
let luaCode = `
return utf8.offset("( ͡° ͜ʖ ͡° )", 5)
`, L;
-
+
t.plan(3);
t.doesNotThrow(function () {
@@ -34,7 +34,6 @@ test('utf8.offset', function (t) {
7,
"Correct element(s) on the stack"
);
-
});
@@ -42,7 +41,7 @@ test('utf8.codepoint', function (t) {
let luaCode = `
return utf8.codepoint("( ͡° ͜ʖ ͡° )", 5, 8)
`, L;
-
+
t.plan(5);
t.doesNotThrow(function () {
@@ -78,7 +77,6 @@ test('utf8.codepoint', function (t) {
860,
"Correct element(s) on the stack"
);
-
});
@@ -86,7 +84,7 @@ test('utf8.char', function (t) {
let luaCode = `
return utf8.char(40, 32, 865, 176, 32, 860, 662, 32, 865, 176, 32, 41)
`, L;
-
+
t.plan(3);
t.doesNotThrow(function () {
@@ -110,7 +108,6 @@ test('utf8.char', function (t) {
"( ͡° ͜ʖ ͡° )",
"Correct element(s) on the stack"
);
-
});
@@ -118,7 +115,7 @@ test('utf8.len', function (t) {
let luaCode = `
return utf8.len("( ͡° ͜ʖ ͡° )")
`, L;
-
+
t.plan(3);
t.doesNotThrow(function () {
@@ -142,7 +139,6 @@ test('utf8.len', function (t) {
12,
"Correct element(s) on the stack"
);
-
});
@@ -155,7 +151,7 @@ test('utf8.codes', function (t) {
end
return results
`, L;
-
+
t.plan(3);
t.doesNotThrow(function () {
@@ -179,5 +175,4 @@ test('utf8.codes', function (t) {
"[1,40] [2,32] [3,865] [5,176] [7,32] [8,860] [10,662] [12,32] [13,865] [15,176] [17,32] [18,41] ",
"Correct element(s) on the stack"
);
-
});