Skip to content

Commit bde9494

Browse files
committed
Clarify return value of ExUnit.CaptureLog.with_log/2
1 parent 9878eaf commit bde9494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ex_unit/lib/ex_unit/capture_log.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ defmodule ExUnit.CaptureLog do
9494
9595
"""
9696
@doc since: "1.13.0"
97-
@spec with_log(keyword, (-> result)) :: {result, String.t()} when result: any
97+
@spec with_log(keyword, (-> result)) :: {result, log :: String.t()} when result: any
9898
def with_log(opts \\ [], fun) when is_list(opts) do
9999
opts =
100100
if opts[:level] == :warn do

0 commit comments

Comments
 (0)