mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Mask RubyVM-specific test
This commit is contained in:
parent
17d5efa4fe
commit
e57dd8c2b5
1 changed files with 8 additions and 6 deletions
|
@ -211,6 +211,7 @@ class PPFileStatTest < Test::Unit::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
if defined?(RubyVM)
|
||||
class PPAbstractSyntaxTree < Test::Unit::TestCase
|
||||
AST = RubyVM::AbstractSyntaxTree
|
||||
def test_lasgn_literal
|
||||
|
@ -219,5 +220,6 @@ class PPAbstractSyntaxTree < Test::Unit::TestCase
|
|||
assert_equal(expected, PP.singleline_pp(ast, ''.dup), ast)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue