aboutsummaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authorgit <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-06-19 17:39:58 +0900
committergit <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-06-19 17:39:58 +0900
commitcbe06cd3501fdadd0e6e63094da2973484d70b0b (patch)
treec60145af2da083c84ff6ea10299b978174813809 /bootstraptest
parent3e5b885cd271e42ba4cb39dc8e612714f88ec889 (diff)
downloadruby-cbe06cd3501fdadd0e6e63094da2973484d70b0b.tar.gz
* remove trailing spaces, expand tabs.
Diffstat (limited to 'bootstraptest')
-rwxr-xr-xbootstraptest/runner.rb2
-rw-r--r--bootstraptest/test_thread.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index 3481402401..8fce3d4b99 100755
--- a/bootstraptest/runner.rb
+++ b/bootstraptest/runner.rb
@@ -268,7 +268,7 @@ def show_limit(testsrc, opt = '', **argh)
$stderr.print '.'
$stderr.print @reset
$stderr.puts if @verbose
-
+
if @tty
$stderr.puts "#{erase}#{result}"
else
diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb
index 319f9ca625..03fb441441 100644
--- a/bootstraptest/test_thread.rb
+++ b/bootstraptest/test_thread.rb
@@ -2,7 +2,7 @@ show_limit %q{
threads = []
begin
threads << Thread.new{sleep}
-
+
raise Exception, "skipping" if threads.count >= 10_000
rescue Exception => error
puts "Thread count: #{threads.count} (#{error})"
@@ -15,7 +15,7 @@ show_limit %q{
fiber = Fiber.new{Fiber.yield}
fiber.resume
fibers << fiber
-
+
raise Exception, "skipping" if fibers.count >= 10_000
rescue Exception => error
puts "Fiber count: #{fibers.count} (#{error})"