diff options
author | Kevin Newton <[email protected]> | 2024-07-16 14:41:42 -0400 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2024-07-16 14:41:42 -0400 |
commit | e3c5d73e0f1eee443893ffb97e4b2878ae5ac69f () | |
tree | 6f826dafb3cb87d76b82d8974325eaea37dd7a23 | |
parent | b0a99d0da9a11a45a5fd3fd655cab8d246fb27a4 (diff) |
[PRISM] Omit two more ast tests that will not work without RubyVM::Ast
-rw-r--r-- | test/ruby/test_ast.rb | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -792,6 +792,8 @@ dummy end def test_keep_script_lines_for_of_with_existing_SCRIPT_LINES__that_has__FILE__as_a_key # This test confirms that the bug that previously occurred because of # `AbstractSyntaxTree.of`s unnecessary dependence on SCRIPT_LINES__ does not reproduce. # The bug occurred only if SCRIPT_LINES__ included __FILE__ as a key. @@ -859,6 +861,8 @@ dummy end def test_e_option assert_in_out_err(["-e", "def foo; end; pp RubyVM::AbstractSyntaxTree.of(method(:foo)).type"], "", [":SCOPE"], []) end |