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.
2 parents 0e54cad + 6a7609d commit ab91165Copy full SHA for ab91165
lib/elixir/test/elixir/regex_test.exs
@@ -20,7 +20,7 @@ defmodule Regex.BinaryTest do
20
assert is_record(Regex.compile!("foo"), Regex)
21
assert is_regex(Regex.compile!("foo"))
22
23
- assert_raise Regex.CompileError, "nothing to repeat at position 0", fn ->
+ assert_raise Regex.CompileError, %r/position 0$/, fn ->
24
Regex.compile!("*foo")
25
end
26
0 commit comments