Closed itsderek23 closed 6 years ago
I wasn't able to reproduce :(
I have the following, which compiles and the test passes:
defmodule Testing do
import ScoutApm.Tracing
deftiming add(a, b) do
a + b
end
end
defmodule Testing.TestingTest do
test "add/2 adds numbers" do
assert Testing.add(1,2) == 3
end
end
I assume the module had more going on, but I'm not sure what would cause the compilation error.
☝️ @jonzlin95 - can you think of anything else that isn't represented in the above example? We haven't been able to reproduce yet.
User was't able to reproduce. Closing.
Thx @mitchellhenke !
A user reports that while
deftiming/2
works fine normally, it triggers an error when running tests:The user is on the latest version of the agent and has:
...at the top of the module.
@mitchellhenke - mind investigating?