diff options
| author | Jemma Issroff <jemmaissroff@gmail.com> | 2023-07-20 17:00:30 -0400 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-07-21 15:48:19 +0000 |
| commit | 25267fdd69edc29fe0dc32745549f94a37e7485c (patch) | |
| tree | 9c2f8b52dc30ca26299903e94c1379ff090979d0 | |
| parent | 22f9735587aff23929e6e436567fcfb3d48be73e (diff) | |
[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
| -rw-r--r-- | test/yarp/parse_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/yarp/parse_test.rb b/test/yarp/parse_test.rb index b6020b82db..d0cdfe2c26 100644 --- a/test/yarp/parse_test.rb +++ b/test/yarp/parse_test.rb @@ -30,6 +30,10 @@ class ParseTest < Test::Unit::TestCase 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) if node.is_a?(YARP::SourceFileNode) node |
