We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 999a535 commit 3b351e7Copy full SHA for 3b351e7
lib/elixir/test/elixir/kernel/binary_test.exs
@@ -70,11 +70,11 @@ bar """
70
<<x :: 6*4-binary>> <> _ = "foobar"
71
assert x == "foo"
72
73
- assert_raise ErlangError, fn ->
+ assert_raise CompileError, fn ->
74
Code.eval_string(~s{<<x :: binary-size(3)-unit(4)>> <> _ = "foobar"})
75
end
76
77
78
Code.eval_string(~s{<<x :: integer-size(4)>> <> _ = "foobar"})
79
80
0 commit comments