Skip to content

Commit 018daea

Browse files
committed
Fix file names
1 parent 97d8d27 commit 018daea

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

lib/elixir/src/elixir_parser.yrl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Terminals
4545
bin_heredoc list_heredoc
4646
comp_op at_op unary_op and_op or_op arrow_op match_op in_op in_match_op ellipsis_op
4747
type_op dual_op mult_op power_op concat_op range_op xor_op pipe_op stab_op when_op
48-
capture_int capture_op assoc_op rel_op ternary_op dot_call_op raw_op raw_atom raw_token raw_number
48+
capture_int capture_op assoc_op rel_op ternary_op dot_call_op raw_atom raw_token raw_number
4949
raw_begin raw_end raw_block
5050
'true' 'false' 'nil' 'do' eol ';' ',' '.'
5151
'(' ')' '[' ']' '{' '}' '<<' '>>' '%{}' '%'

lib/elixir/test/elixir/kernel/parser_sequence_literal_test.exs renamed to lib/elixir/test/elixir/kernel/raw_section_parser_test.exs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Code.require_file("../test_helper.exs", __DIR__)
22

3-
defmodule Kernel.ParserSequenceLiteralTest do
3+
defmodule Kernel.RawSectionParserTest do
44
use ExUnit.Case, async: true
55

66
defp parse!(string), do: Code.string_to_quoted!(string)
@@ -111,8 +111,7 @@ defmodule Kernel.ParserSequenceLiteralTest do
111111
{:raw_section, [line: 1], [{:"GenServer.start_link", [line: 1], nil}]}
112112

113113
assert parse!("~~(io.puts data)") ==
114-
{:raw_section, [line: 1],
115-
[{:"io.puts", [line: 1], nil}, {:data, [line: 1], nil}]}
114+
{:raw_section, [line: 1], [{:"io.puts", [line: 1], nil}, {:data, [line: 1], nil}]}
116115
end
117116

118117
test "normal Elixir dot syntax still works outside sequences" do
@@ -259,8 +258,7 @@ defmodule Kernel.ParserSequenceLiteralTest do
259258

260259
# Single element in nested parentheses
261260
assert parse!("~~((a))") ==
262-
{:raw_section, [line: 1],
263-
[{:raw_paren, [line: 1], [{:a, [line: 1], nil}]}]}
261+
{:raw_section, [line: 1], [{:raw_paren, [line: 1], [{:a, [line: 1], nil}]}]}
264262

265263
# Empty nested parentheses create empty raw_paren
266264
assert parse!("~~(())") ==

0 commit comments

Comments
 (0)