summaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-30 02:52:55 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-30 02:52:55 +0000
commit2af5b8b3418d6be1ba68d1715c7c37683916cdc0 (patch)
tree86d5d39e3b354208807a0c35971819dbe7d02403 /bootstraptest
parent366267cc1e1108ea770b841fd2c5adfff03d13c8 (diff)
* bootstraptest/runner.rb (pretty): don't show beginning empty line.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/runner.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index 6ee3ef3e4..7dee5aee2 100644
--- a/bootstraptest/runner.rb
+++ b/bootstraptest/runner.rb
@@ -226,6 +226,7 @@ rescue Exception => err
end
def pretty(src, desc, result)
+ src = src.sub(/\A.*\n/, '')
(/\n/ =~ src ? "\n#{adjust_indent(src)}" : src) + " #=> #{desc}"
end