Skip to content

Commit 010efd8

Browse files
committed
Fix regex
1 parent c017404 commit 010efd8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

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

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

25572556
assert_raise CompileError, message, fn ->
25582557
code =

0 commit comments

Comments
 (0)