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:
parent
89c3fbd1ab
commit
5529a03271
2 changed files with 5 additions and 9 deletions
|
@ -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>
|
Wed Sep 16 17:42:52 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* win32/Makefile.sub (config.status): install-capi needs docdir. And,
|
* win32/Makefile.sub (config.status): install-capi needs docdir. And,
|
||||||
|
|
|
@ -450,15 +450,6 @@ class TestThread < Test::Unit::TestCase
|
||||||
m.unlock
|
m.unlock
|
||||||
end
|
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
|
def test_recursive_outer
|
||||||
arr = []
|
arr = []
|
||||||
obj = Struct.new(:foo, :visited).new(arr, false)
|
obj = Struct.new(:foo, :visited).new(arr, false)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue