Skip to content

Commit 3b351e7

Browse files
author
José Valim
committed
ErlangError -> CompileError
1 parent 999a535 commit 3b351e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/test/elixir/kernel/binary_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ bar """
7070
<<x :: 6*4-binary>> <> _ = "foobar"
7171
assert x == "foo"
7272

73-
assert_raise ErlangError, fn ->
73+
assert_raise CompileError, fn ->
7474
Code.eval_string(~s{<<x :: binary-size(3)-unit(4)>> <> _ = "foobar"})
7575
end
7676

77-
assert_raise ErlangError, fn ->
77+
assert_raise CompileError, fn ->
7878
Code.eval_string(~s{<<x :: integer-size(4)>> <> _ = "foobar"})
7979
end
8080
end

0 commit comments

Comments
 (0)