[PRISM] Enable passing pattern matching tests

This commit is contained in:
Kevin Newton 2024-04-01 14:22:41 -04:00
parent a9658b6409
commit cc6668c656
2 changed files with 1 additions and 6 deletions

View file

@ -9,8 +9,6 @@ MSpec.register(:exclude, "Hash literal merges multiple nested '**obj' in Hash li
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, "The next statement in a method is invalid and raises a SyntaxError")
MSpec.register(:exclude, "Pattern matching variable pattern does not support using variable name (except _) several times")
MSpec.register(:exclude, "Pattern matching Hash pattern raise SyntaxError when keys duplicate in pattern")
MSpec.register(:exclude, "Regexps with encoding modifiers supports /e (EUC encoding) with interpolation")
MSpec.register(:exclude, "Regexps with encoding modifiers supports /e (EUC encoding) with interpolation /o")
MSpec.register(:exclude, "Regexps with encoding modifiers preserves EUC-JP as /e encoding through interpolation")

View file

@ -1,5 +1,2 @@
exclude(:test_array_pattern, "duplicated variable error missing")
exclude(:test_find_pattern, "duplicated variable error missing")
exclude(:test_hash_pattern, "useless literal warning missing")
exclude(:test_invalid_syntax, "duplicated variable error missing")
exclude(:test_var_pattern, "duplicated variable error missing")
exclude(:test_invalid_syntax, "[a:] is disallowed")