Skip TestProc#test_hash_does_not_change_after_compaction if compaction is not supported

This commit is contained in:
Peter Zhu 2024-11-01 16:00:26 -04:00
parent e2909570bb
commit 3e2ee99057
Notes: git 2024-11-02 21:25:34 +00:00

View File

@ -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