We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6158785 commit a6295b8Copy full SHA for a6295b8
test/bypass_test.exs
@@ -2,18 +2,7 @@ defmodule BypassTest do
2
use ExUnit.Case
3
doctest Bypass
4
5
- if Code.ensure_loaded?(ExUnit.CaptureLog) do
6
- defdelegate capture_log(fun), to: ExUnit.CaptureLog
7
- else
8
- # Shim capture_log for Elixir 1.0
9
- defp capture_log(fun) do
10
- ExUnit.CaptureIO.capture_io(:user, fn ->
11
- fun.()
12
- Logger.flush()
13
- end)
14
- |> String.strip()
15
- end
16
+ defdelegate capture_log(fun), to: ExUnit.CaptureLog
17
18
test "show ISSUE #51" do
19
Enum.each(
0 commit comments