From 754d353cb37d17028b2211d8eb5f1422695d048f Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 11 Oct 2016 13:21:30 +0000 Subject: bootstraptest/runner.rb: first line in the source * bootstraptest/runner.rb (pretty): remove empty line at the beginning only. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/runner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootstraptest/runner.rb') diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index 8945c16bd7..d37edb8d9a 100755 --- a/bootstraptest/runner.rb +++ b/bootstraptest/runner.rb @@ -405,7 +405,7 @@ def flunk(message = '') end def pretty(src, desc, result) - src = src.sub(/\A.*\n/, '') + src = src.sub(/\A[\s\t]*\n/, '') (/\n/ =~ src ? "\n#{adjust_indent(src)}" : src) + " #=> #{desc}" end -- cgit v1.2.3