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 | |
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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | bootstraptest/runner.rb | 1 |
2 files changed, 5 insertions, 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. 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 |