You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ExUnit.start
defmodule CallbacksTest do
use ExUnit.Case, async: true
setup do
IO.puts "This is a setup callback"
{ :ok, from_setup: :hello }
end
test "the truth", meta do
assert meta[:from_setup] == :hello
end
teardown meta do
assert meta[:from_setup] == :hello
:ok
end
end
I get
** (CompileError) test.el:15: undefined function teardown/2
I guess the api has chnged?
The text was updated successfully, but these errors were encountered:
I was running an example.
I get
** (CompileError) test.el:15: undefined function teardown/2
I guess the api has chnged?
The text was updated successfully, but these errors were encountered: