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
72
72
73
73
# Contains an escaped multibyte character. This is supposed to drop to backslash
74
74
"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" ,
75
83
]
76
84
77
85
# These files are either failing to parse or failing to translate, so we'll
78
86
# skip them for now.
79
87
skip_all = skip_incorrect | [
80
88
"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" ,
84
89
"seattlerb/pctW_lineno.txt" ,
85
90
"seattlerb/regexp_esc_C_slash.txt" ,
86
91
"unparser/corpus/literal/literal.txt" ,
You can’t perform that action at this time.
0 commit comments