mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
d1c7f6c9cd
commit
adf5c69f29
2 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue