diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-30 02:52:55 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-30 02:52:55 +0000 |
commit | adf5c69f295ff1eb8e6d698c77ef3e1a0e855109 (patch) | |
tree | 86d5d39e3b354208807a0c35971819dbe7d02403 /bootstraptest/runner.rb | |
parent | d1c7f6c9cd1b226be6754157b70b665aa32e079e (diff) | |
download | ruby-adf5c69f295ff1eb8e6d698c77ef3e1a0e855109.tar.gz |
* 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.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index 6ee3ef3e41..7dee5aee26 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 |