Skip to content

Commit 318716a

Browse files
author
José Valim
committed
Return :ok from FileCase callbacks
1 parent ca6b8d3 commit 318716a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/elixir/test/elixir/file_test.exs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ defmodule Elixir.FileCase do
1010
end
1111
end
1212

13-
setup _ do
13+
setup do
1414
File.mkdir_p!(tmp_path)
15+
:ok
1516
end
1617

17-
teardown _ do
18+
teardown do
1819
File.rm_rf(tmp_path)
20+
:ok
1921
end
2022
end
2123

0 commit comments

Comments
 (0)