diff --git a/spec/ruby/core/gc/total_time_spec.rb b/spec/ruby/core/gc/total_time_spec.rb index 9b4f16e603..fcc8f45a83 100644 --- a/spec/ruby/core/gc/total_time_spec.rb +++ b/spec/ruby/core/gc/total_time_spec.rb @@ -9,7 +9,7 @@ ruby_version_is "3.1" do it "increases as collections are run" do time_before = GC.total_time GC.start - GC.total_time.should > time_before + GC.total_time.should >= time_before end end end