From ed7b88e2853da7e64288c2a3569930c937d53183 Mon Sep 17 00:00:00 2001 From: kazu Date: Tue, 11 Oct 2016 16:36:14 +0000 Subject: [PATCH] `\s` includes `\t` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- bootstraptest/runner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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