Remove unneeded element from match
Maps support partial matching, no need to include a key for an unneeded value.
This commit is contained in:
@@ -6,7 +6,7 @@ defmodule ExecuteTest do
|
|||||||
end
|
end
|
||||||
|
|
||||||
test "stops at the first failing koan" do
|
test "stops at the first failing koan" do
|
||||||
{:failed, %{error: _, file: file, line: line}, SampleKoan, _name} = Execute.run_module(SampleKoan)
|
{:failed, %{file: file, line: line}, SampleKoan, _name} = Execute.run_module(SampleKoan)
|
||||||
assert file == 'test/support/sample_koan.ex'
|
assert file == 'test/support/sample_koan.ex'
|
||||||
assert line == 4
|
assert line == 4
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user