summaryrefslogtreecommitdiff
path: root/bootstraptest/test_thread.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-09 23:16:54 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-09 23:16:54 +0000
commit6e12ae857e9f0ac087efb44cf0de3d6aef72e727 (patch)
treede1f347a8520456ddff4963ca08b32a2b86dcca5 /bootstraptest/test_thread.rb
parentf4592d7bb0c88ab22e15e632afb70279f119af4e (diff)
* parse.y (parser_yylex): wrong token was generated. [ruby-dev:32498]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_thread.rb')
-rw-r--r--bootstraptest/test_thread.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb
index 40ccbad..3c1cc5a 100644
--- a/bootstraptest/test_thread.rb
+++ b/bootstraptest/test_thread.rb
@@ -169,9 +169,9 @@ assert_equal %q{11}, %q{
Thread.current[:a]
}.value + Thread.current[:a]
}
-assert_equal %q{1000}, %q{
+assert_equal %q{100}, %q{
begin
- 1000.times do |i|
+ 100.times do |i|
begin
Thread.start(Thread.current) {|u| u.raise }
raise
@@ -180,6 +180,6 @@ begin
end
end
rescue
- 1000
+ 100
end
}, '[ruby-dev:31371]'