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 9878eaf commit bde9494Copy full SHA for bde9494
lib/ex_unit/lib/ex_unit/capture_log.ex
@@ -94,7 +94,7 @@ defmodule ExUnit.CaptureLog do
94
95
"""
96
@doc since: "1.13.0"
97
- @spec with_log(keyword, (-> result)) :: {result, String.t()} when result: any
+ @spec with_log(keyword, (-> result)) :: {result, log :: String.t()} when result: any
98
def with_log(opts \\ [], fun) when is_list(opts) do
99
opts =
100
if opts[:level] == :warn do
0 commit comments