1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_thread.rb (TestThread#test_recursive): remove

implementation dependent test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2009-09-16 10:33:14 +00:00
parent 89c3fbd1ab
commit 5529a03271
2 changed files with 5 additions and 9 deletions

View file

@ -1,3 +1,8 @@
Wed Sep 16 19:27:43 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
* test/ruby/test_thread.rb (TestThread#test_recursive): remove
implementation dependent test.
Wed Sep 16 17:42:52 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/Makefile.sub (config.status): install-capi needs docdir. And,

View file

@ -450,15 +450,6 @@ class TestThread < Test::Unit::TestCase
m.unlock
end
def test_recursive_error
o = Object.new
def o.inspect
Thread.current[:__recursive_key__][:inspect] = nil
super
end
assert_raise(TypeError) { [o].inspect }
end
def test_recursive_outer
arr = []
obj = Struct.new(:foo, :visited).new(arr, false)