summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEarlopain <14981592+Earlopain@users.noreply.github.com>2025-01-11 21:48:57 +0100
committerKevin Newton <kddnewton@gmail.com>2025-01-11 19:09:05 -0500
commit110461c509a3f93060cf66c82ed44baa00e182a1 (patch)
treefc7128893e30ffa2e4755e07b5a64e7320f59a15 /test
parent81079ebfd8ba9f672664239d73e8d875e9eeedc8 (diff)
[ruby/prism] Implement more string token escaping in the parser translator
This leaves `\c` and `\M` escaping but I don't understand how these should even work yet. Maybe later. https://github.com/ruby/prism/commit/13db3e8cb9
Diffstat (limited to 'test')
-rw-r--r--test/prism/ruby/parser_test.rb50
1 files changed, 0 insertions, 50 deletions
diff --git a/test/prism/ruby/parser_test.rb b/test/prism/ruby/parser_test.rb
index e972142672..4ba38bd0c0 100644
--- a/test/prism/ruby/parser_test.rb
+++ b/test/prism/ruby/parser_test.rb
@@ -81,78 +81,28 @@ module Prism
# These files are failing to translate their lexer output into the lexer
# output expected by the parser gem, so we'll skip them for now.
skip_tokens = [
- "comments.txt",
"dash_heredocs.txt",
- "dos_endings.txt",
"embdoc_no_newline_at_end.txt",
- "heredoc_with_comment.txt",
"heredocs_with_ignored_newlines.txt",
- "indented_file_end.txt",
"methods.txt",
"strings.txt",
"tilde_heredocs.txt",
- "xstring_with_backslash.txt",
"seattlerb/backticks_interpolation_line.txt",
"seattlerb/bug169.txt",
"seattlerb/case_in.txt",
- "seattlerb/class_comments.txt",
"seattlerb/difficult4__leading_dots2.txt",
"seattlerb/difficult6__7.txt",
"seattlerb/difficult6__8.txt",
- "seattlerb/dsym_esc_to_sym.txt",
- "seattlerb/heredoc__backslash_dos_format.txt",
- "seattlerb/heredoc_backslash_nl.txt",
- "seattlerb/heredoc_comma_arg.txt",
- "seattlerb/heredoc_squiggly_blank_line_plus_interpolation.txt",
- "seattlerb/heredoc_squiggly_blank_lines.txt",
- "seattlerb/heredoc_squiggly_interp.txt",
- "seattlerb/heredoc_squiggly_tabs_extra.txt",
- "seattlerb/heredoc_squiggly_tabs.txt",
- "seattlerb/heredoc_squiggly_visually_blank_lines.txt",
- "seattlerb/heredoc_squiggly.txt",
"seattlerb/heredoc_unicode.txt",
- "seattlerb/heredoc_with_carriage_return_escapes_windows.txt",
- "seattlerb/heredoc_with_carriage_return_escapes.txt",
- "seattlerb/heredoc_with_interpolation_and_carriage_return_escapes_windows.txt",
- "seattlerb/heredoc_with_interpolation_and_carriage_return_escapes.txt",
- "seattlerb/interpolated_symbol_array_line_breaks.txt",
- "seattlerb/interpolated_word_array_line_breaks.txt",
- "seattlerb/label_vs_string.txt",
- "seattlerb/module_comments.txt",
- "seattlerb/non_interpolated_symbol_array_line_breaks.txt",
- "seattlerb/non_interpolated_word_array_line_breaks.txt",
- "seattlerb/parse_line_block_inline_comment_leading_newlines.txt",
- "seattlerb/parse_line_block_inline_comment.txt",
- "seattlerb/parse_line_block_inline_multiline_comment.txt",
- "seattlerb/parse_line_dstr_escaped_newline.txt",
"seattlerb/parse_line_heredoc.txt",
- "seattlerb/parse_line_multiline_str_literal_n.txt",
- "seattlerb/parse_line_str_with_newline_escape.txt",
"seattlerb/pct_w_heredoc_interp_nested.txt",
- "seattlerb/qsymbols_empty_space.txt",
- "seattlerb/qw_escape_term.txt",
- "seattlerb/qWords_space.txt",
- "seattlerb/read_escape_unicode_curlies.txt",
- "seattlerb/read_escape_unicode_h4.txt",
"seattlerb/required_kwarg_no_value.txt",
"seattlerb/slashy_newlines_within_string.txt",
- "seattlerb/str_double_escaped_newline.txt",
- "seattlerb/str_double_newline.txt",
- "seattlerb/str_evstr_escape.txt",
- "seattlerb/str_newline_hash_line_number.txt",
- "seattlerb/str_single_newline.txt",
- "seattlerb/symbols_empty_space.txt",
"seattlerb/TestRubyParserShared.txt",
"unparser/corpus/literal/assignment.txt",
- "unparser/corpus/literal/dstr.txt",
- "unparser/corpus/semantic/opasgn.txt",
"whitequark/args.txt",
"whitequark/beginless_erange_after_newline.txt",
"whitequark/beginless_irange_after_newline.txt",
- "whitequark/bug_ascii_8bit_in_literal.txt",
- "whitequark/bug_def_no_paren_eql_begin.txt",
- "whitequark/dedenting_heredoc.txt",
- "whitequark/dedenting_non_interpolating_heredoc_line_continuation.txt",
"whitequark/forward_arg_with_open_args.txt",
"whitequark/kwarg_no_paren.txt",
"whitequark/lbrace_arg_after_command_args.txt",