Skip to content

Commit c017404

Browse files
committed
Fix regex
1 parent 616e0d8 commit c017404

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/elixir/test/elixir/kernel/expansion_test.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2551,7 +2551,8 @@ defmodule Kernel.ExpansionTest do
25512551
expand(code)
25522552
end
25532553

2554-
message = ~r["a -1..a+1" looks like a function call but there is a variable named "a"]
2554+
message =
2555+
~r["a -1\.\.\(a \+ 1\)" looks like a function call but there is a variable named "a"]
25552556

25562557
assert_raise CompileError, message, fn ->
25572558
code =

0 commit comments

Comments
 (0)