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 | 2af5b8b3418d6be1ba68d1715c7c37683916cdc0 (patch) | |
| tree | 86d5d39e3b354208807a0c35971819dbe7d02403 | |
| parent | 366267cc1e1108ea770b841fd2c5adfff03d13c8 (diff) | |
| download | ruby-2af5b8b3418d6be1ba68d1715c7c37683916cdc0.tar.gz ruby-2af5b8b3418d6be1ba68d1715c7c37683916cdc0.tar.xz ruby-2af5b8b3418d6be1ba68d1715c7c37683916cdc0.zip | |
* bootstraptest/runner.rb (pretty): don't show beginning empty line.
git-svn-id: http://svn.ruby-lang.org/repos/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 6ee3ef3e4..7dee5aee2 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 |
