Upgrade to Ruby 2.2.0 (rc1).

This commit is contained in:
Vít Ondruch 2014-12-19 15:10:53 +01:00
commit 7097d0fbcc
3 changed files with 61 additions and 4 deletions

View file

@ -0,0 +1,13 @@
diff --git a/test/test_weakref.rb b/test/test_weakref.rb
index 36b5d5b..861457f 100644
--- a/test/test_weakref.rb
+++ b/test/test_weakref.rb
@@ -63,7 +63,7 @@ class TestWeakRef < Test::Unit::TestCase
def test_repeated_object_leak
bug10537 = '[ruby-core:66428]'
- assert_no_memory_leak(%w(-rweakref), '', <<-'end;', bug10537)
+ assert_no_memory_leak(%w(-rweakref), '', <<-'end;', bug10537, timeout: 30)
a = Object.new
150_000.times { WeakRef.new(a) }
end;