diff options
| author | Mike McQuaid | 2013-12-20 15:38:42 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-12-20 15:38:42 +0000 |
| commit | b2287999e1682489f9fca2188b86b6fb034e3886 (patch) | |
| tree | cd0bbbdf632092c55a214da79bdacecf7c708b64 /Library/Contributions | |
| parent | 4401ee08191fa84b339ae4af33719f71c6a6bd17 (diff) | |
| download | brew-b2287999e1682489f9fca2188b86b6fb034e3886.tar.bz2 | |
brew-test-bot: delete takes string, not regex.
Diffstat (limited to 'Library/Contributions')
| -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 |
