summaryrefslogtreecommitdiff
path: root/test/ripper/dummyparser.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-08 01:01:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-08 01:01:04 +0000
commit1963713205b4421c06baa1fc198332f896c219a9 (patch)
treed3c6f96ee534f3cfb07710ae4c3ad1a06a5ab259 /test/ripper/dummyparser.rb
parent507f700dd446d6e20d4859308a67ab77a5821e53 (diff)
* test/ripper/test_parser_events.rb: more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 ec8800b..ffc1f78 100644
--- a/test/ripper/dummyparser.rb
+++ b/test/ripper/dummyparser.rb
@@ -179,7 +179,7 @@ class DummyParser < Ripper
end
def on_assoclist_from_args(a)
- Node.new('assocs', *a.list)
+ Node.new('assocs', *a)
end
(Ripper::PARSER_EVENTS.map(&:to_s) - instance_methods(false).map {|n|n.to_s.sub(/^on_/, '')}).each do |event|