Skip to content

Commit 00431eb

Browse files
author
José Valim
committed
Warnings rely on stdio and should be sync
1 parent 203ddd0 commit 00431eb

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

lib/elixir/test/elixir/kernel/warning_test.exs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
Code.require_file "../test_helper.exs", __DIR__
22

33
defmodule Kernel.WarningTest do
4-
use ExUnit.Case, async: true
5-
4+
use ExUnit.Case
65
import ExUnit.CaptureIO
76

87
defp capture_err(fun) do

lib/elixir/test/elixir/system_test.exs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ defmodule SystemTest do
4343
assert args == ["-o", "opt", "arg1", "arg2", "--long-opt", "10"]
4444
end
4545

46-
test :at_exit do
47-
output = elixir('-e "System.at_exit(fn x -> IO.inspect x end)"')
48-
assert output == '0\n'
49-
end
50-
5146
test :env do
5247
assert System.get_env("SYSTEM_ELIXIR_ENV_TEST_VAR") == nil
5348
System.put_env("SYSTEM_ELIXIR_ENV_TEST_VAR", "SAMPLE")

0 commit comments

Comments
 (0)