Skip to content

Commit 5a6dcd7

Browse files
committed
test: better way to run test/test_all async
1 parent 3ec2f44 commit 5a6dcd7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/support/image_test_case.ex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
defmodule ImageTestCase do
22
@moduledoc false
3-
use ExUnit.CaseTemplate
3+
use ExUnit.CaseTemplate, async: true
44

55
@doc "Reads an image giving a relative path to test/fixtures/images"
66
def read_image(rel_path) do
@@ -10,8 +10,6 @@ defmodule ImageTestCase do
1010

1111
using do
1212
quote do
13-
use ExUnit.Case, async: true
14-
1513
def read_image(rel_path), do: ImageTestCase.read_image(rel_path)
1614
end
1715
end

0 commit comments

Comments
 (0)