Skip to content

Commit

Permalink
test/lua-cli.test.js: Add missing semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
daurnimator committed Mar 31, 2018
1 parent 5d13f7f commit 249fb77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/lua-cli.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ test('Ignores env var when using -E', () => new Promise((resolve) => {
env: { LUA_INIT: 'print("failed")' },
silent: true
});
let output = ''
let output = '';
child.stdout.on('data', (data) => {
output += data;
});
Expand Down Expand Up @@ -38,7 +38,7 @@ test('Runs empty script', () => new Promise((resolve) => {
const child = child_process.fork(lua_path, ["-E", "-e", ""], {
silent: true
});
let output = ''
let output = '';
child.stdout.on('data', (data) => {
output += data;
});
Expand All @@ -54,7 +54,7 @@ test('Runs LUA_INIT when -E is not present', () => new Promise((resolve) => {
env: { LUA_INIT: 'print("success")' },
silent: true
});
let output = ''
let output = '';
child.stdout.on('data', (data) => {
output += data;
});
Expand Down

0 comments on commit 249fb77

Please sign in to comment.