Skip to content

Commit

Permalink
add parens around tmp_path
Browse files Browse the repository at this point in the history
  • Loading branch information
scrogson committed Jan 26, 2018
1 parent 91a342c commit 2f0a996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/support/file_helpers.ex
Expand Up @@ -13,7 +13,7 @@ defmodule Hedwig.FileHelpers do
tailored for this test case and test.
"""
defmacro in_tmp(fun) do
path = Path.join([tmp_path, "#{__CALLER__.module}", "#{elem(__CALLER__.function, 0)}"])
path = Path.join([tmp_path(), "#{__CALLER__.module}", "#{elem(__CALLER__.function, 0)}"])
quote do
path = unquote(path)
File.rm_rf!(path)
Expand Down

0 comments on commit 2f0a996

Please sign in to comment.