Skip to content

Commit 0335c44

Browse files
committed
Fix more lints
1 parent 84d26e0 commit 0335c44

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

lib/elixir_script_test/test.ex

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ defmodule ElixirScript.Test do
7272
```
7373
"""
7474

75-
7675
defmacro __using__(_opts) do
7776
quote do
7877
import ElixirScript.Test.Callbacks, only: [
@@ -84,7 +83,7 @@ defmodule ElixirScript.Test do
8483
]
8584
import ExUnit.Assertions
8685

87-
def __elixirscript_test_module__(), do: true
86+
def __elixirscript_test_module__, do: true
8887
end
8988
end
9089

@@ -118,7 +117,13 @@ defmodule ElixirScript.Test do
118117

119118
defp node_test_runner(js_files) do
120119
test_script_path = Path.join([:code.priv_dir(:elixir_script), "testrunner", "index.js"])
121-
{_, exit_status} = System.cmd "node", [test_script_path] ++ js_files, into: IO.stream(:stdio, :line)
120+
test_script_path = [test_script_path] ++ js_files
121+
{_, exit_status} = System.cmd(
122+
"node",
123+
test_script_path,
124+
into: IO.stream(:stdio, :line)
125+
)
126+
122127
exit_status
123128
end
124129
end

0 commit comments

Comments
 (0)