@@ -11,17 +11,14 @@ class RipperTest < TestCase
11
11
relatives = ENV [ "FOCUS" ] ? [ ENV [ "FOCUS" ] ] : Dir [ "**/*.txt" , base : base ]
12
12
13
13
incorrect = [
14
- # Ripper incorrectly attributes the block to the `break` statement.
14
+ # Ripper incorrectly attributes the block to the keyword.
15
+ "seattlerb/block_break.txt" ,
15
16
"whitequark/break_block.txt" ,
16
-
17
- # Ripper cannot handle named capture groups in regular expressions.
18
- "whitequark/lvar_injecting_match.txt" ,
19
-
20
- # Ripper incorrectly attributes the block to the `next` statement.
21
17
"whitequark/next_block.txt" ,
18
+ "whitequark/return_block.txt" ,
22
19
23
- # Ripper incorrectly attributes the block to the `return` statement .
24
- "whitequark/return_block .txt"
20
+ # Ripper cannot handle named capture groups in regular expressions .
21
+ "whitequark/lvar_injecting_match .txt"
25
22
]
26
23
27
24
skips = incorrect | %w[
@@ -39,7 +36,6 @@ class RipperTest < TestCase
39
36
regex_char_width.txt
40
37
rescue.txt
41
38
seattlerb/TestRubyParserShared.txt
42
- seattlerb/block_break.txt
43
39
seattlerb/block_call_dot_op2_brace_block.txt
44
40
seattlerb/block_command_operation_colon.txt
45
41
seattlerb/block_command_operation_dot.txt
@@ -89,7 +85,6 @@ class RipperTest < TestCase
89
85
unparser/corpus/literal/module.txt
90
86
unparser/corpus/literal/pattern.txt
91
87
unparser/corpus/literal/send.txt
92
- unparser/corpus/literal/since/27.txt
93
88
unparser/corpus/literal/while.txt
94
89
unparser/corpus/semantic/dstr.txt
95
90
unparser/corpus/semantic/while.txt
@@ -102,13 +97,11 @@ class RipperTest < TestCase
102
97
whitequark/empty_stmt.txt
103
98
whitequark/if_elsif.txt
104
99
whitequark/masgn_splat.txt
105
- whitequark/numbered_args_after_27.txt
106
100
whitequark/parser_bug_640.txt
107
101
whitequark/parser_drops_truncated_parts_of_squiggly_heredoc.txt
108
102
whitequark/parser_slash_slash_n_escaping_in_literals.txt
109
103
whitequark/ruby_bug_11107.txt
110
104
whitequark/ruby_bug_11990.txt
111
- whitequark/ruby_bug_15789.txt
112
105
whitequark/send_block_chain_cmd.txt
113
106
whitequark/slash_newline_in_heredocs.txt
114
107
whitequark/string_concat.txt
0 commit comments