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
|
@ -1,3 +1,7 @@
|
|||
Sun Sep 30 11:52:11 2007 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* bootstraptest/runner.rb (pretty): don't show beginning empty line.
|
||||
|
||||
Sun Sep 30 11:32:34 2007 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* numeric.c: use #ifdef for test LONG_LONG_VALUE.
|
||||
|
|
|
@ -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…
Reference in a new issue