[ruby/yarp] Exclude heredoc_nested test for Rubies < 3.3
Ripper's lexemes were slightly different in Ruby 3.2 for Heredocs. We ignored this complex heredoc test in this case because Ripper's output has changed https://github.com/ruby/yarp/commit/59d3d4a899
This commit is contained in:
parent
22f9735587
commit
25267fdd69
@ -30,6 +30,10 @@ class ParseTest < Test::Unit::TestCase
|
|||||||
seattlerb/heredoc_nested.txt
|
seattlerb/heredoc_nested.txt
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if RUBY_VERSION < "3.3.0"
|
||||||
|
known_failures << "seattlerb/pct_w_heredoc_interp_nested.txt"
|
||||||
|
end
|
||||||
|
|
||||||
def find_source_file_node(node)
|
def find_source_file_node(node)
|
||||||
if node.is_a?(YARP::SourceFileNode)
|
if node.is_a?(YARP::SourceFileNode)
|
||||||
node
|
node
|
||||||
|
Loading…
x
Reference in New Issue
Block a user