diff options
author | José Valim <jose.valim@plataformatec.com.br> | 2018-07-10 22:26:57 +0200 |
---|---|---|
committer | José Valim <jose.valim@plataformatec.com.br> | 2018-07-10 22:29:46 +0200 |
commit | 260dde330f854a5983656360559d4e8a716a9b8b (patch) | |
tree | 2ab3ee9f70190f64521fa30b6626dba1da3ec4e4 | |
parent | 8847bc7a9e39798e7aa74a4e199de75fccef055e (diff) | |
download | elixir-260dde330f854a5983656360559d4e8a716a9b8b.tar.gz |
Do not capture stderr on async tests
Plus the syntax above will raise in future versions.
-rw-r--r-- | lib/elixir/test/elixir/code_formatter/integration_test.exs | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/elixir/test/elixir/code_formatter/integration_test.exs b/lib/elixir/test/elixir/code_formatter/integration_test.exs index 422544a65..624f6d9bd 100644 --- a/lib/elixir/test/elixir/code_formatter/integration_test.exs +++ b/lib/elixir/test/elixir/code_formatter/integration_test.exs @@ -309,32 +309,6 @@ defmodule Code.Formatter.IntegrationTest do """ end - test "case with empty clause" do - ExUnit.CaptureIO.capture_io(:stderr, fn -> - bad = """ - def hello(world) do - case world do - :world -> IO.inspect world - - _ -> - end - end - """ - - assert_format bad, """ - def hello(world) do - case world do - :world -> - IO.inspect(world) - - _ -> - nil - end - end - """ - end) - end - test "anonymous function with parens around integer argument" do bad = """ fn (1) -> "hello" end |