Skip to content

Commit

Permalink
Remove unneeded assert from with_io/1 example (elixir-lang#11960)
Browse files Browse the repository at this point in the history
  • Loading branch information
fertapric authored Jul 3, 2022
1 parent cdf4605 commit 2239594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ex_unit/lib/ex_unit/capture_io.ex
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ defmodule ExUnit.CaptureIO do
## Examples
{result, output} =
assert with_io(fn ->
with_io(fn ->
IO.puts("a")
IO.puts("b")
2 + 2
Expand Down

0 comments on commit 2239594

Please sign in to comment.