From 85e5a99e3689861723af8c46c85db1a3273fcd60 Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Tue, 2 Apr 2024 10:28:40 -0400 Subject: [PATCH] [PRISM] Document more reasons for failures --- test/.excludes-prism/TestAssignmentGen.rb | 2 +- test/.excludes-prism/TestCall.rb | 6 +++--- test/.excludes-prism/TestClass.rb | 6 +++--- test/.excludes-prism/TestISeq.rb | 14 +++++++------- test/.excludes-prism/TestM17N.rb | 10 +++++----- test/.excludes-prism/TestRegexp.rb | 8 ++++---- test/.excludes-prism/TestRubyLiteral.rb | 2 +- 7 files changed, 24 insertions(+), 24 deletions(-) diff --git a/test/.excludes-prism/TestAssignmentGen.rb b/test/.excludes-prism/TestAssignmentGen.rb index 7d9ffd235c..5f3bb12ef7 100644 --- a/test/.excludes-prism/TestAssignmentGen.rb +++ b/test/.excludes-prism/TestAssignmentGen.rb @@ -1 +1 @@ -exclude(:test_assignment, "unknown") +exclude(:test_assignment, "https://github.com/ruby/prism/issues/2370") diff --git a/test/.excludes-prism/TestCall.rb b/test/.excludes-prism/TestCall.rb index fa84af685b..969e32ea5a 100644 --- a/test/.excludes-prism/TestCall.rb +++ b/test/.excludes-prism/TestCall.rb @@ -1,3 +1,3 @@ -exclude(:test_call_op_asgn_keywords, "unknown") -exclude(:test_call_op_asgn_keywords_mutable, "unknown") -exclude(:test_kwsplat_block_order_op_asgn, "unknown") +exclude(:test_call_op_asgn_keywords, "https://github.com/ruby/prism/issues/2438") +exclude(:test_call_op_asgn_keywords_mutable, "https://github.com/ruby/prism/issues/2438") +exclude(:test_kwsplat_block_order_op_asgn, "https://github.com/ruby/prism/issues/2438") diff --git a/test/.excludes-prism/TestClass.rb b/test/.excludes-prism/TestClass.rb index 14b768b9b7..9681f78f42 100644 --- a/test/.excludes-prism/TestClass.rb +++ b/test/.excludes-prism/TestClass.rb @@ -1,3 +1,3 @@ -exclude(:test_invalid_break_from_class_definition, "unknown") -exclude(:test_invalid_next_from_class_definition, "unknown") -exclude(:test_invalid_return_from_class_definition, "unknown") +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") diff --git a/test/.excludes-prism/TestISeq.rb b/test/.excludes-prism/TestISeq.rb index 71d1583677..a40c0e49a1 100644 --- a/test/.excludes-prism/TestISeq.rb +++ b/test/.excludes-prism/TestISeq.rb @@ -1,7 +1,7 @@ -exclude(:test_each_child, "unknown") -exclude(:test_frozen_string_literal_compile_option, "unknown") -exclude(:test_syntax_error_message, "unknown") -exclude(:test_to_binary_class_tracepoint, "unknown") -exclude(:test_to_binary_end_tracepoint, "unknown") -exclude(:test_trace_points, "unknown") -exclude(:test_unreachable_syntax_error, "unknown") +exclude(:test_each_child, "https://github.com/ruby/prism/issues/2660") +exclude(:test_frozen_string_literal_compile_option, "https://github.com/ruby/prism/issues/2661") +exclude(:test_syntax_error_message, "Assertion checks against specific error format") +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") diff --git a/test/.excludes-prism/TestM17N.rb b/test/.excludes-prism/TestM17N.rb index e38425f63d..e9e0623689 100644 --- a/test/.excludes-prism/TestM17N.rb +++ b/test/.excludes-prism/TestM17N.rb @@ -1,8 +1,8 @@ -exclude(:test_dynamic_eucjp_regexp, "https://github.com/ruby/prism/issues/1997") -exclude(:test_dynamic_sjis_regexp, "https://github.com/ruby/prism/issues/1997") -exclude(:test_dynamic_utf8_regexp, "https://github.com/ruby/prism/issues/1997") -exclude(:test_regexp_ascii, "https://github.com/ruby/prism/issues/1997") -exclude(:test_regexp_embed, "https://github.com/ruby/prism/issues/1997") +exclude(:test_dynamic_eucjp_regexp, "https://github.com/ruby/prism/issues/2664") +exclude(:test_dynamic_sjis_regexp, "https://github.com/ruby/prism/issues/2664") +exclude(:test_dynamic_utf8_regexp, "https://github.com/ruby/prism/issues/2664") +exclude(:test_regexp_ascii, "https://github.com/ruby/prism/issues/2664") +exclude(:test_regexp_embed, "https://github.com/ruby/prism/issues/2664") exclude(:test_regexp_mixed_unicode, "unknown") exclude(:test_regexp_too_short_multibyte_character, "unknown") exclude(:test_regexp_unicode, "unknown") diff --git a/test/.excludes-prism/TestRegexp.rb b/test/.excludes-prism/TestRegexp.rb index 2cf1902348..68ad1414a9 100644 --- a/test/.excludes-prism/TestRegexp.rb +++ b/test/.excludes-prism/TestRegexp.rb @@ -1,6 +1,6 @@ exclude(:test_invalid_escape_error, "unknown") -exclude(:test_invalid_fragment, "unknown") +exclude(:test_invalid_fragment, "https://github.com/ruby/prism/issues/2664") exclude(:test_unescape, "unknown") -exclude(:test_unicode_age_14_0, "unknown") -exclude(:test_unicode_age_15_0, "unknown") -exclude(:test_unicode_age, "unknown") +exclude(:test_unicode_age_14_0, "https://github.com/ruby/prism/issues/2664") +exclude(:test_unicode_age_15_0, "https://github.com/ruby/prism/issues/2664") +exclude(:test_unicode_age, "https://github.com/ruby/prism/issues/2664") diff --git a/test/.excludes-prism/TestRubyLiteral.rb b/test/.excludes-prism/TestRubyLiteral.rb index 1174baa95f..bf5dbcd36a 100644 --- a/test/.excludes-prism/TestRubyLiteral.rb +++ b/test/.excludes-prism/TestRubyLiteral.rb @@ -1,6 +1,6 @@ exclude(:test_debug_frozen_string_in_array_literal, "unknown") exclude(:test_debug_frozen_string, "unknown") -exclude(:test_dregexp, "unknown") +exclude(:test_dregexp, "https://github.com/ruby/prism/issues/2664") exclude(:test_hash_value_omission, "unknown") exclude(:test_integer, "unknown") exclude(:test_string, "https://github.com/ruby/prism/issues/2331")