summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_safe_marshal.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_safe_marshal.rb')
-rw-r--r--test/rubygems/test_gem_safe_marshal.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_safe_marshal.rb b/test/rubygems/test_gem_safe_marshal.rb
index 362e5e00ad..29685f458c 100644
--- a/test/rubygems/test_gem_safe_marshal.rb
+++ b/test/rubygems/test_gem_safe_marshal.rb
@@ -212,7 +212,7 @@ class TestGemSafeMarshal < Gem::TestCase
Time.at(secs, 1.00001, :nanosecond),
Time.at(secs, 1.00001, :nanosecond),
].tap do |times|
- unless RUBY_ENGINE == "truffleruby" && RUBY_ENGINE_VERSION < "23" || RUBY_VERSION < "2.7"
+ unless RUBY_ENGINE == "truffleruby" && RUBY_ENGINE_VERSION < "23"
times.concat [
Time.at(secs, in: "UTC"),
Time.at(secs, in: "Z"),