diff options
| author | Mike McQuaid | 2013-12-20 15:38:42 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-12-20 15:38:42 +0000 |
| commit | a11090d38b649773b50d334f719617751ec09dd1 (patch) | |
| tree | 1b70916369f8c98769a3ac75f9a61808fa81bb49 /Library | |
| parent | 0c00b79c85959add381d580190162170d87ad67c (diff) | |
| download | homebrew-a11090d38b649773b50d334f719617751ec09dd1.tar.bz2 | |
brew-test-bot: delete takes string, not regex.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/cmd/brew-test-bot.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index 73ea34c4d..3d997474a 100755 --- a/Library/Contributions/cmd/brew-test-bot.rb +++ b/Library/Contributions/cmd/brew-test-bot.rb @@ -474,7 +474,7 @@ if ARGV.include? "--junit" failure = testcase.add_element 'failure' if step.failed? if step.has_output? # Remove invalid XML CData characters from step output. - output = REXML::CData.new step.output.delete(/\000\f\e/) + output = REXML::CData.new step.output.delete("\000\f\e") if step.passed? system_out = testcase.add_element 'system-out' system_out.text = output |
