summaryrefslogtreecommitdiff
path: root/test/ripper/test_scanner_events.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-04 00:07:50 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-24 21:57:54 +0900
commitea68bb914a3c806a1c5188993b96791a76ab0849 (patch)
tree085fe4bbf44e546143ba2ee950298bf269785d7a /test/ripper/test_scanner_events.rb
parente73cc3eead75b27eabf93a7163bed511f2bb3b17 (diff)
Changed numbered parameter prefix
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2431
Diffstat (limited to 'test/ripper/test_scanner_events.rb')
-rw-r--r--test/ripper/test_scanner_events.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/ripper/test_scanner_events.rb b/test/ripper/test_scanner_events.rb
index 75ae29491d..641310b384 100644
--- a/test/ripper/test_scanner_events.rb
+++ b/test/ripper/test_scanner_events.rb
@@ -360,13 +360,6 @@ class TestRipper::ScannerEvents < Test::Unit::TestCase
scan('ivar', 'm(lvar, @ivar, @@cvar, $gvar)')
end
- def test_tnumparam
- assert_equal [],
- scan('tnumparam', '')
- assert_equal ['@1'],
- scan('tnumparam', 'proc {@1}')
- end
-
def test_kw
assert_equal [],
scan('kw', '')