Skip to content

Commit f07fac7

Browse files
committed
Fix tests.
1 parent f510f1e commit f07fac7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

test/next/passes/translate/form_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ defmodule ElixirScript.Translate.Forms.Test do
7676
state = %{}
7777

7878
{js_ast, _} = Form.compile(ast, state)
79-
assert js_ast == J.call_expression(
79+
assert js_ast == J.new_expression(
8080
J.member_expression(
8181
J.member_expression(
8282
J.identifier("Bootstrap"),

test/support/main.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
defmodule Main do
22
def start(:normal, [callback]) do
33
callback.("started")
4-
Enum.each(%{a: 1}, fn(x) -> JS.console.log(x) end)
54
end
65
end

0 commit comments

Comments
 (0)