diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-11 16:36:14 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-11 16:36:14 +0000 |
commit | ed7b88e2853da7e64288c2a3569930c937d53183 (patch) | |
tree | 006ed0863f83628638f8cf62fe15918d421f8460 /bootstraptest/runner.rb | |
parent | 269977b918d7908e5289a46641b6f6ee41a0da2c (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/runner.rb')
-rwxr-xr-x | bootstraptest/runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index d37edb8d9a..754c3f0f3b 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 |