summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-11 13:21:30 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-11 13:21:30 (GMT)
commit269977b918d7908e5289a46641b6f6ee41a0da2c (patch)
tree607d36580bf7d1e6a1998d4983fb7f250c9cbf45 /bootstraptest
parent446924cbb790016c293e13f4022fa0faf8f6d2c9 (diff)
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 8945c16..d37edb8 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