Move blank in pin operator koan

This commit is contained in:
Uku Taht
2016-04-26 13:32:33 +01:00
parent 353ce95a1a
commit 30dcdd5efe
2 changed files with 3 additions and 3 deletions

View File

@@ -13,8 +13,8 @@ defmodule PatternMatching do
koan "A pattern can also be strict" do koan "A pattern can also be strict" do
a = 1 a = 1
assert_raise ___, fn() -> assert_raise MatchError, fn() ->
^a = 2 ^a = ___
end end
end end

View File

@@ -6,7 +6,7 @@ defmodule PatternsTests do
answers = [ answers = [
1, 1,
2, 2,
MatchError, 2,
{:multiple, [1, [2,3,4]]}, {:multiple, [1, [2,3,4]]},
[1,2,3,4], [1,2,3,4],
3, 3,