aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-12-20 15:38:42 +0000
committerMike McQuaid2013-12-20 15:38:42 +0000
commita11090d38b649773b50d334f719617751ec09dd1 (patch)
tree1b70916369f8c98769a3ac75f9a61808fa81bb49 /Library
parent0c00b79c85959add381d580190162170d87ad67c (diff)
downloadhomebrew-a11090d38b649773b50d334f719617751ec09dd1.tar.bz2
brew-test-bot: delete takes string, not regex.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb2
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