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 | 28e2f388a9bdcb6db9af8989af4485b10308026c (patch) | |
| tree | e18a1726c86234721d2732e8973ca83b6b832cbc /test | |
| parent | 078336fe75681be463734333a1dd1dc833ea2575 (diff) | |
| download | ruby-28e2f388a9bdcb6db9af8989af4485b10308026c.tar.gz ruby-28e2f388a9bdcb6db9af8989af4485b10308026c.tar.xz ruby-28e2f388a9bdcb6db9af8989af4485b10308026c.zip | |
remove test_gc
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
| -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 7ac691881..d2b2c7f17 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 |
