From 4cf4cad4abca43c9396ec8f736f0021b3c678f4d Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Thu, 26 Dec 2024 20:26:47 -0500 Subject: [PATCH] [ruby/prism] Turn off unescape tests for Ruby >= 3.4.0 https://github.com/ruby/prism/commit/f982769314 --- test/prism/unescape_test.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/prism/unescape_test.rb b/test/prism/unescape_test.rb index 299eddadfe..d241f28c08 100644 --- a/test/prism/unescape_test.rb +++ b/test/prism/unescape_test.rb @@ -2,7 +2,9 @@ require_relative "test_helper" -return if RUBY_VERSION < "3.1.0" || Prism::BACKEND == :FFI +return if Prism::BACKEND == :FFI +return if RUBY_VERSION < "3.1.0" +return if RUBY_VERSION >= "3.4.0" module Prism class UnescapeTest < TestCase