summaryrefslogtreecommitdiff
path: root/bootstraptest/runner.rb
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
commitadf5c69f295ff1eb8e6d698c77ef3e1a0e855109 (patch)
tree86d5d39e3b354208807a0c35971819dbe7d02403 /bootstraptest/runner.rb
parentd1c7f6c9cd1b226be6754157b70b665aa32e079e (diff)
* bootstraptest/runner.rb (pretty): don't show beginning empty line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/runner.rb')
-rw-r--r--bootstraptest/runner.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index 6ee3ef3..7dee5ae 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