diff options
author | seki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-13 01:10:24 +0000 |
---|---|---|
committer | seki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-13 01:10:24 +0000 |
commit | 16c1e00f6125d6d4af99226c848329442f04937f (patch) | |
tree | e18a1726c86234721d2732e8973ca83b6b832cbc /test/rinda | |
parent | e761c4f39ebbadd2ed27acd8acf017d891c5e9ff (diff) |
remove test_gc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rinda')
-rw-r--r-- | test/rinda/test_rinda.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb index 7ac6918819..d2b2c7f17e 100644 --- a/test/rinda/test_rinda.rb +++ b/test/rinda/test_rinda.rb @@ -6,8 +6,6 @@ require 'rinda/tuplespace' require 'singleton' -require 'weakref' - module Rinda class MockClock @@ -501,14 +499,6 @@ class TupleSpaceTest < Test::Unit::TestCase ThreadGroup.new.add(Thread.current) @ts = Rinda::TupleSpace.new(1) end - - def test_gc - w = WeakRef.new(Rinda::TupleSpace.new) - GC.start - assert_raises(WeakRef::RefError) do - w.__getobj__ - end - end end class TupleSpaceProxyTest < Test::Unit::TestCase |