From b50e1e68b6050033587e9f6deaf7a104926a01ae Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Wed, 24 Apr 2024 15:55:18 -0400 Subject: [PATCH] [PRISM] Enable more passing tests --- spec/prism.mspec | 3 --- test/.excludes-prism/TestM17N.rb | 3 --- test/.excludes-prism/TestSyntax.rb | 1 - 3 files changed, 7 deletions(-) diff --git a/spec/prism.mspec b/spec/prism.mspec index 16508bd547..190ee6fb36 100644 --- a/spec/prism.mspec +++ b/spec/prism.mspec @@ -5,9 +5,6 @@ MSpec.register(:exclude, "Warning.[] returns default values for categories :deprecated and :experimental") ## Language -MSpec.register(:exclude, "Hash literal expands an '**{}' or '**obj' element with the last key/value pair taking precedence") -MSpec.register(:exclude, "Hash literal expands an '**{}' and warns when finding an additional duplicate key afterwards") -MSpec.register(:exclude, "Hash literal merges multiple nested '**obj' in Hash literals") MSpec.register(:exclude, "Hash literal raises a SyntaxError at parse time when Symbol key with invalid bytes") MSpec.register(:exclude, "Hash literal raises a SyntaxError at parse time when Symbol key with invalid bytes and 'key: value' syntax used") MSpec.register(:exclude, "Regexps with encoding modifiers supports /e (EUC encoding) with interpolation") diff --git a/test/.excludes-prism/TestM17N.rb b/test/.excludes-prism/TestM17N.rb index e9e0623689..15ed504fc9 100644 --- a/test/.excludes-prism/TestM17N.rb +++ b/test/.excludes-prism/TestM17N.rb @@ -3,8 +3,5 @@ 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") exclude(:test_regexp_usascii, "unknown") exclude(:test_string_mixed_unicode, "unknown") diff --git a/test/.excludes-prism/TestSyntax.rb b/test/.excludes-prism/TestSyntax.rb index f8ae776930..61051e2f37 100644 --- a/test/.excludes-prism/TestSyntax.rb +++ b/test/.excludes-prism/TestSyntax.rb @@ -22,7 +22,6 @@ exclude(:test_numbered_parameter, "unknown") exclude(:test_optional_self_reference, "unknown") exclude(:test_safe_call_in_massign_lhs, "unknown") exclude(:test_syntax_error_at_newline, "unknown") -exclude(:test_unassignable, "unknown") exclude(:test_unexpected_fraction, "unknown") exclude(:test_unterminated_heredoc_cr, "unknown") exclude(:test_unterminated_heredoc, "unknown")