diff options
Diffstat (limited to 'spec/bundler/support/command_execution.rb')
| -rw-r--r-- | spec/bundler/support/command_execution.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/support/command_execution.rb b/spec/bundler/support/command_execution.rb index 979a46549a..e2915b996d 100644 --- a/spec/bundler/support/command_execution.rb +++ b/spec/bundler/support/command_execution.rb @@ -72,7 +72,7 @@ module Spec attr_reader :failure_reason def normalize(string) - string.force_encoding(Encoding::UTF_8).strip.gsub("\r\n", "\n") + string.dup.force_encoding(Encoding::UTF_8).scrub.strip.gsub("\r\n", "\n") end end end |
