Skip to content

Commit 677afec

Browse files
Improve typespecs for t:ExUnit.configure_opts/0 (#15117)
`:exclude`/`:include` can be: - an atom - a list of atoms and keyword elements
1 parent 2292f3b commit 677afec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/ex_unit/lib/ex_unit.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ defmodule ExUnit do
117117
diff_delete: atom(),
118118
diff_delete_whitespace: IO.ANSI.ansidata()
119119
]}
120-
| {:exclude, keyword()}
120+
| {:exclude, atom() | [atom() | {atom(), any()}]}
121121
| {:exit_status, non_neg_integer()}
122122
| {:failures_manifest_path, String.t()}
123123
| {:formatters, [module()]}
124-
| {:include, keyword()}
124+
| {:include, atom() | [atom() | {atom(), any()}]}
125125
| {:max_cases, pos_integer()}
126126
| {:max_failures, pos_integer() | :infinity}
127127
| {:only_test_ids, [test_id()]}

0 commit comments

Comments
 (0)