aboutsummaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-01 14:42:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-01 14:42:50 +0000
commit4136f8ce890350c8899fb853397de15b68453445 (patch)
tree8554185127923860a5e947ba7437729cb4e80131 /bootstraptest
parent5c7027d227f6c1517d6fd2767ad08b6c7e9fc3bf (diff)
downloadruby-4136f8ce890350c8899fb853397de15b68453445.tar.gz
* 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
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_thread.rb20
1 files changed, 10 insertions, 10 deletions
diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb
index 19799ab4d3..61407209fe 100644
--- a/bootstraptest/test_thread.rb
+++ b/bootstraptest/test_thread.rb
@@ -189,18 +189,18 @@ assert_equal %q{11}, %q{
}.value + Thread.current[:a]
}
assert_normal_exit %q{
-begin
- 100.times do |i|
- begin
- th = Thread.start(Thread.current) {|u| u.raise }
- raise
- rescue
- ensure
- th.join
+ begin
+ 100.times do |i|
+ begin
+ th = Thread.start(Thread.current) {|u| u.raise }
+ raise
+ rescue
+ ensure
+ th.join
+ end
end
+ rescue
end
-rescue
-end
}, '[ruby-dev:31371]'
assert_equal 'true', %{