From 7aca5e1784dde7ad4900f9e8ef2d14f8c492b7e2 Mon Sep 17 00:00:00 2001 From: Nick Sutterer Date: Wed, 6 Nov 2024 13:59:34 +0100 Subject: [PATCH] only run GC tests on MIT. --- test/activity_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/activity_test.rb b/test/activity_test.rb index 78a65af..0977273 100644 --- a/test/activity_test.rb +++ b/test/activity_test.rb @@ -88,7 +88,7 @@ def call(*) end end -if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.1") +if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.1") && RUBY_ENGINE == "ruby" # TODO: we can remove this once we drop Ruby <= 3.3.6. class GCBugTest < Minitest::Spec it "still finds {.method} tasks after GC compression" do