diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2024-11-01 16:00:26 -0400 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2024-11-02 17:25:16 -0400 |
| commit | 3e2ee990576ac64eabc5b186cae68c4e4e814701 (patch) | |
| tree | 5ff7d227f2804d06088d5d3bac65f24db94dad22 /test/ruby | |
| parent | e2909570bb00c7c6056638b71c1d3c363dc0d40d (diff) | |
Skip TestProc#test_hash_does_not_change_after_compaction if compaction is not supported
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11980
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_proc.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
