mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
\s
includes \t
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
269977b918
commit
ed7b88e285
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue