summaryrefslogtreecommitdiff
path: root/tests/ltm.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-24 09:17:59 +0100
committerBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-24 10:20:05 +0100
commit4cbbb77b73f6c1776498bdc70f3ca9d7406d40bf (patch)
tree6e872cf184e06820a96597d5fd35ee1ef534afd9 /tests/ltm.js
parentae4e53e2e7234a167058199085921a9182e8522a (diff)
downloadfengari-4cbbb77b73f6c1776498bdc70f3ca9d7406d40bf.tar.gz
fengari-4cbbb77b73f6c1776498bdc70f3ca9d7406d40bf.tar.bz2
fengari-4cbbb77b73f6c1776498bdc70f3ca9d7406d40bf.zip
Travis
Diffstat (limited to 'tests/ltm.js')
-rw-r--r--tests/ltm.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ltm.js b/tests/ltm.js
index 0543110..a05d2b5 100644
--- a/tests/ltm.js
+++ b/tests/ltm.js
@@ -783,7 +783,7 @@ test('binary __xxx functions in metatable', function (t) {
}, "Second part of the program executed without errors");
t.deepEqual(
- L.stack.slice(L.top - 12, L.top).map(function (e) { return e.value }),
+ L.stack.slice(L.top - 12, L.top).map(e => e.value),
[
"{} + 1",
"{} - 1",
@@ -1300,7 +1300,7 @@ test('__call', function (t) {
}, "Second part of the program executed without errors");
t.deepEqual(
- L.stack.slice(L.top - 3, L.top).map(function (e) { return e.value }),
+ L.stack.slice(L.top - 3, L.top).map(e => e.value),
["hello", "world", "wow"],
"Program output is correct"
);