defmodule ExecuteTest do
  use ExUnit.Case

  test "passes a koan" do
    assert :passed == Execute.run_module(PassingKoan)
  end

  test "stops at the first failing koan" do
    {:failed, %{error: _, file: file, line: line}, SampleKoan, _name} = Execute.run_module(SampleKoan)
    assert file == 'test/support/sample_koan.ex'
    assert line == 4
  end
end

defmodule ExecuteTest do
  use ExUnit.Case

  test "passes a koan" do
    assert :passed == Execute.run_module(PassingKoan)
  end

  test "stops at the first failing koan" do
    {:failed, %{file: file, line: line}, SampleKoan, _name} = Execute.run_module(SampleKoan)
    assert file == 'test/support/sample_koan.ex'
    assert line == 4
  end
end

Remove unneeded element from match
Remove unneeded element from match

Maps support partial matching, no need to include a key for an unneeded
value.

samstarling/elixir-koans,elixirkoans/elixir-koans