Skip to content

Commit 2f0a996

Browse files
committed
add parens around tmp_path
1 parent 91a342c commit 2f0a996

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/support/file_helpers.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ defmodule Hedwig.FileHelpers do
1313
tailored for this test case and test.
1414
"""
1515
defmacro in_tmp(fun) do
16-
path = Path.join([tmp_path, "#{__CALLER__.module}", "#{elem(__CALLER__.function, 0)}"])
16+
path = Path.join([tmp_path(), "#{__CALLER__.module}", "#{elem(__CALLER__.function, 0)}"])
1717
quote do
1818
path = unquote(path)
1919
File.rm_rf!(path)

0 commit comments

Comments
 (0)