Skip to content

Commit 1f1e341

Browse files
authored
Fix <> match test (#13327)
1 parent 3fb82c3 commit 1f1e341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ defmodule Kernel.BinaryTest do
119119
Code.eval_string(~s["foo" <> 1])
120120
end
121121

122-
message = ~r"left argument of <> operator inside a match"
122+
message = ~r"cannot perform prefix match because the left operand of <> has unknown size."
123123

124124
assert_raise ArgumentError, message, fn ->
125125
Code.eval_string(~s[a <> "b" = "ab"])

0 commit comments

Comments
 (0)