summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-11 16:36:14 (GMT)
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-11 16:36:14 (GMT)
commited7b88e2853da7e64288c2a3569930c937d53183 (patch)
tree006ed0863f83628638f8cf62fe15918d421f8460 /bootstraptest
parent269977b918d7908e5289a46641b6f6ee41a0da2c (diff)
`\s` includes `\t`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56395 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 d37edb8..754c3f0 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[\s\t]*\n/, '')
+ src = src.sub(/\A\s*\n/, '')
(/\n/ =~ src ? "\n#{adjust_indent(src)}" : src) + " #=> #{desc}"
end