summaryrefslogtreecommitdiff
path: root/test/ruby/test_ast.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_ast.rb')
-rw-r--r--test/ruby/test_ast.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/ruby/test_ast.rb b/test/ruby/test_ast.rb
index a4c18d0ad6..4c156650b8 100644
--- a/test/ruby/test_ast.rb
+++ b/test/ruby/test_ast.rb
@@ -264,15 +264,6 @@ class TestAst < Test::Unit::TestCase
assert_equal(:SCOPE, defn.type)
end
- def test_methref
- node = RubyVM::AbstractSyntaxTree.parse("obj.:foo")
- _, _, body = *node.children
- assert_equal(:METHREF, body.type)
- recv, mid = body.children
- assert_equal(:VCALL, recv.type)
- assert_equal(:foo, mid)
- end
-
def test_dstr
node = parse('"foo#{1}bar"')
_, _, body = *node.children