* bootstraptest/test_thread.rb: get rid of "invalid nest" error in

ruby-mode.el.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-01-01 14:42:50 +00:00
parent 5c7027d227
commit 4136f8ce89
1 changed files with 10 additions and 10 deletions

View File

@ -189,18 +189,18 @@ assert_equal %q{11}, %q{
}.value + Thread.current[:a] }.value + Thread.current[:a]
} }
assert_normal_exit %q{ assert_normal_exit %q{
begin begin
100.times do |i| 100.times do |i|
begin begin
th = Thread.start(Thread.current) {|u| u.raise } th = Thread.start(Thread.current) {|u| u.raise }
raise raise
rescue rescue
ensure ensure
th.join th.join
end
end end
rescue
end end
rescue
end
}, '[ruby-dev:31371]' }, '[ruby-dev:31371]'
assert_equal 'true', %{ assert_equal 'true', %{