summaryrefslogtreecommitdiff
path: root/test/ripper
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-20 00:55:14 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-20 00:56:04 +0900
commit61131edba7c885a6d12c4d6f0e502fb40381f184 (patch)
tree4db314f4c8fc2845531c5755599191c405b43991 /test/ripper
parentf3c9803528d429a7b5e47f400caa33dfadd94da7 (diff)
Revert "[ripper] Quoted label without expression must be a local variable"
This reverts commit 0b8c73aa65add5c57b46b0cfdf4e661508802172, which seems breaking RVALUE consistency check.
Diffstat (limited to 'test/ripper')
-rw-r--r--test/ripper/test_sexp.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/ripper/test_sexp.rb b/test/ripper/test_sexp.rb
index 9b3a99e..d6c7d60 100644
--- a/test/ripper/test_sexp.rb
+++ b/test/ripper/test_sexp.rb
@@ -435,9 +435,6 @@ eot
[__LINE__, %q{ case 0; in a?:; end }] =>
nil,
-
- [__LINE__, %q{ case 0; in "A":; end }] =>
- nil,
}
pattern_matching_data.each do |(i, src), expected|
define_method(:"test_pattern_matching_#{i}") do