aboutsummaryrefslogtreecommitdiffstats
path: root/bootstraptest
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-11 13:21:30 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-11 13:21:30 +0000
commit754d353cb37d17028b2211d8eb5f1422695d048f (patch)
tree607d36580bf7d1e6a1998d4983fb7f250c9cbf45 /bootstraptest
parente033ca50429521dde154f03c8e7cf92256de2724 (diff)
downloadruby-754d353cb37d17028b2211d8eb5f1422695d048f.tar.gz
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
Diffstat (limited to 'bootstraptest')
-rwxr-xr-xbootstraptest/runner.rb2
1 files changed, 1 insertions, 1 deletions
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