Skip to content

Commit 0f8baa3

Browse files
committed
Remove test with race condition (already covered in warnings_test.exs)
1 parent 017162a commit 0f8baa3

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/elixir/test/elixir/kernel/expansion_test.exs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -316,16 +316,6 @@ defmodule Kernel.ExpansionTest do
316316
end)
317317
end
318318

319-
test "expands vars to local call when :on_undefined_variable is :warn" do
320-
Code.put_compiler_option(:on_undefined_variable, :warn)
321-
322-
{output, env} = expand_env({:a, [], nil}, __ENV__, [])
323-
assert output == {:a, [if_undefined: :warn], []}
324-
assert Macro.Env.vars(env) == []
325-
after
326-
Code.put_compiler_option(:on_undefined_variable, :raise)
327-
end
328-
329319
test "expands vars to local call without warning" do
330320
env = __ENV__
331321

0 commit comments

Comments
 (0)