Skip to content

Commit c07a34f

Browse files
Adrien MoreauJosé Valim
Adrien Moreau
authored and
José Valim
committed
Correct the type definition of ExUnit.state for the failed state
Signed-off-by: José Valim <[email protected]>
1 parent e05bfc7 commit c07a34f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ex_unit/lib/ex_unit.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ defmodule ExUnit do
5858

5959
@typedoc "The error state returned by ExUnit.Test and ExUnit.TestCase"
6060
@type state :: nil | {:failed, failed} | {:skip, binary} | {:invalid, module}
61-
@type failed :: {Exception.kind, reason :: term, stacktrace :: [tuple]}
61+
@type failed :: [{Exception.kind, reason :: term, stacktrace :: [tuple]}]
6262

6363
defmodule Test do
6464
@moduledoc """

0 commit comments

Comments
 (0)