[PRISM] Enable passing tests for invalid block exits

This commit is contained in:
Kevin Newton 2024-04-03 15:06:20 -04:00
Родитель ffba484754
Коммит 7e28d3c1e3
4 изменённых файлов: 0 добавлений и 8 удалений

Просмотреть файл

@ -1,3 +0,0 @@
exclude(:test_invalid_break_from_class_definition, "https://github.com/ruby/prism/issues/1604")
exclude(:test_invalid_next_from_class_definition, "https://github.com/ruby/prism/issues/1604")
exclude(:test_invalid_return_from_class_definition, "https://github.com/ruby/prism/issues/1604")

Просмотреть файл

@ -4,4 +4,3 @@ exclude(:test_syntax_error_message, "Assertion checks against specific error for
exclude(:test_to_binary_class_tracepoint, "https://github.com/ruby/prism/issues/2662")
exclude(:test_to_binary_end_tracepoint, "https://github.com/ruby/prism/issues/2663")
exclude(:test_trace_points, "https://github.com/ruby/prism/issues/2660")
exclude(:test_unreachable_syntax_error, "https://github.com/ruby/prism/issues/1604")

Просмотреть файл

@ -8,9 +8,7 @@ exclude(:test_float, "unknown")
exclude(:test_global_variable, "unknown")
exclude(:test_here_document, "unknown")
exclude(:test_heredoc_unterminated_interpolation, "unknown")
exclude(:test_invalid_break_from_class_definition, "unknown")
exclude(:test_invalid_char, "unknown")
exclude(:test_invalid_next_from_class_definition, "unknown")
exclude(:test_location_of_invalid_token, "unknown")
exclude(:test_no_blockarg, "unknown")
exclude(:test_op_asgn1_with_block, "unknown")

Просмотреть файл

@ -13,10 +13,8 @@ exclude(:test_duplicated_when, "unknown")
exclude(:test_error_message_encoding, "unknown")
exclude(:test_heredoc_cr, "unknown")
exclude(:test_heredoc_no_terminator, "unknown")
exclude(:test_invalid_break, "unknown")
exclude(:test_invalid_encoding_symbol, "unknown")
exclude(:test_invalid_literal_message, "unknown")
exclude(:test_invalid_next, "unknown")
exclude(:test_it, "https://github.com/ruby/prism/issues/2323")
exclude(:test_keyword_invalid_name, "unknown")
exclude(:test_keyword_self_reference, "unknown")