From 3e2ee990576ac64eabc5b186cae68c4e4e814701 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Fri, 1 Nov 2024 16:00:26 -0400 Subject: [PATCH] Skip TestProc#test_hash_does_not_change_after_compaction if compaction is not supported --- test/ruby/test_proc.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/ruby/test_proc.rb b/test/ruby/test_proc.rb index 47b256a4c4..b9b10c932c 100644 --- a/test/ruby/test_proc.rb +++ b/test/ruby/test_proc.rb @@ -201,6 +201,8 @@ class TestProc < Test::Unit::TestCase end def test_hash_does_not_change_after_compaction + omit "compaction is not supported on this platform" unless GC.respond_to?(:compact) + # [Bug #20853] [ "proc {}", # iseq backed proc