Skip to content

Commit 5184edd

Browse files
committed
Fix code escaping in ExUnit.Callbacks docstring
1 parent fc9506e commit 5184edd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ex_unit/lib/ex_unit/callbacks.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ defmodule ExUnit.Callbacks do
1212
and `teardown_all` share their own context in a similar way, but this one
1313
provides an ExUnit.TestCase record associated with the `:case` key.
1414
15-
If you return { :ok, <keyword list> } from `setup` or `teardown`, the keyword
15+
If you return `{ :ok, <keyword list> }` from `setup` or `teardown`, the keyword
1616
list will get merged into the context that will be available in all
1717
subsequent `setup`, `test`, or `teardown` calls.
1818
19-
Similarly, returning { :ok, <keyword list> } from `setup_all` or
19+
Similarly, returning `{ :ok, <keyword list> }` from `setup_all` or
2020
`teardown_all` will merge the keyword list into the context that will be
2121
available in all subsequent `setup_all` or `teardown_all` calls.
2222

0 commit comments

Comments
 (0)