File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -72,15 +72,20 @@ class ParserTest < TestCase
7272
7373 # Contains an escaped multibyte character. This is supposed to drop to backslash
7474 "seattlerb/regexp_escape_extended.txt" ,
75+
76+ # https://github.com/whitequark/parser/issues/1020
77+ # These contain consecutive \r characters, followed by \n. Prism only receives
78+ # the already modified source buffer which dropped one \r but must know the
79+ # original code to parse it correctly.
80+ "seattlerb/heredoc_with_extra_carriage_returns_windows.txt" ,
81+ "seattlerb/heredoc_with_only_carriage_returns_windows.txt" ,
82+ "seattlerb/heredoc_with_only_carriage_returns.txt" ,
7583 ]
7684
7785 # These files are either failing to parse or failing to translate, so we'll
7886 # skip them for now.
7987 skip_all = skip_incorrect | [
8088 "unescaping.txt" ,
81- "seattlerb/heredoc_with_extra_carriage_returns_windows.txt" ,
82- "seattlerb/heredoc_with_only_carriage_returns_windows.txt" ,
83- "seattlerb/heredoc_with_only_carriage_returns.txt" ,
8489 "seattlerb/pctW_lineno.txt" ,
8590 "seattlerb/regexp_esc_C_slash.txt" ,
8691 "unparser/corpus/literal/literal.txt" ,
You can’t perform that action at this time.
0 commit comments