mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
set as binary before gsub
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3077816cc1
commit
b3602a5453
1 changed files with 2 additions and 2 deletions
|
@ -330,11 +330,11 @@ module Test
|
|||
full_message << "pid #{pid}"
|
||||
full_message << " killed by #{sigdesc}" if sigdesc
|
||||
if out and !out.empty?
|
||||
full_message << "\n#{out.gsub(/^/, '| ')}"
|
||||
full_message << "\n#{out.b.gsub(/^/, '| ')}"
|
||||
full_message << "\n" if /\n\z/ !~ full_message
|
||||
end
|
||||
if log
|
||||
full_message << "\n#{log.gsub(/^/, '| ')}"
|
||||
full_message << "\n#{log.b.gsub(/^/, '| ')}"
|
||||
end
|
||||
full_message
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue