summaryrefslogtreecommitdiff
path: root/test/ripper/dummyparser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ripper/dummyparser.rb')
-rw-r--r--test/ripper/dummyparser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ripper/dummyparser.rb b/test/ripper/dummyparser.rb
index cf0b5d2a30..ec8800b17b 100644
--- a/test/ripper/dummyparser.rb
+++ b/test/ripper/dummyparser.rb
@@ -51,7 +51,7 @@ class DummyParser < Ripper
class << self; self; end.class_eval do
define_method(name) do |*a, &b|
result = super(*a, &b)
- yield
+ yield(*a)
result
end
end