diff --git a/test/yarp/parse_test.rb b/test/yarp/parse_test.rb index eba5767776..e490b9082b 100644 --- a/test/yarp/parse_test.rb +++ b/test/yarp/parse_test.rb @@ -58,6 +58,9 @@ module YARP # These fail on TruffleRuby due to a difference in Symbol#inspect: :测试 vs :"测试" next if RUBY_ENGINE == "truffleruby" and %w[seattlerb/bug202.txt seattlerb/magic_encoding_comment.txt].include?(relative) + # These fail on TruffleRuby due to a Ripper difference + next if RUBY_ENGINE == "truffleruby" and %w[symbols.txt unparser/corpus/literal/def.txt].include?(relative) + filepath = File.join(base, relative) snapshot = File.expand_path(File.join("snapshots", relative), __dir__)