1
0
Fork 0
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:
akr 2007-09-30 02:52:55 +00:00
parent d1c7f6c9cd
commit adf5c69f29
2 changed files with 5 additions and 0 deletions

View file

@ -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.

View file

@ -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