aboutsummaryrefslogtreecommitdiffstats
path: root/test/ripper
diff options
context:
space:
mode:
Diffstat (limited to 'test/ripper')
-rw-r--r--test/ripper/test_scanner_events.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ripper/test_scanner_events.rb b/test/ripper/test_scanner_events.rb
index e57300ed0f..56ba646485 100644
--- a/test/ripper/test_scanner_events.rb
+++ b/test/ripper/test_scanner_events.rb
@@ -535,6 +535,8 @@ class TestRipper::ScannerEvents < Test::Unit::TestCase
scan('op', ':[]')
assert_equal ['[]='],
scan('op', ':[]=')
+ assert_equal ['.?'],
+ scan('op', 'a.?f')
assert_equal [],
scan('op', %q[`make all`])
end