From 2239594fb323c31670d4e97f30ed3a0cd3141001 Mon Sep 17 00:00:00 2001 From: Fernando Tapia Rico Date: Sun, 3 Jul 2022 22:52:28 +0200 Subject: [PATCH] Remove unneeded assert from with_io/1 example (#11960) --- lib/ex_unit/lib/ex_unit/capture_io.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ex_unit/lib/ex_unit/capture_io.ex b/lib/ex_unit/lib/ex_unit/capture_io.ex index d62607a127..2c0897cb55 100644 --- a/lib/ex_unit/lib/ex_unit/capture_io.ex +++ b/lib/ex_unit/lib/ex_unit/capture_io.ex @@ -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