We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e126dab commit 02603b1Copy full SHA for 02603b1
1 file changed
lib/elixir/test/elixir/regex_test.exs
@@ -127,7 +127,8 @@ defmodule RegexTest do
127
test "compile!/1" do
128
assert %Regex{} = Regex.compile!("foo")
129
130
- assert_raise Regex.CompileError, ~r/position 0$/, fn ->
+ # The exact position changed between Erlang/OTP 28.1 and 28.3
131
+ assert_raise Regex.CompileError, ~r/at position/, fn ->
132
Regex.compile!("*foo")
133
end
134
0 commit comments