Skip to content

Commit

Permalink
brew-test-bot: delete takes string, not regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Dec 20, 2013
1 parent 4401ee0 commit b228799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Contributions/cmd/brew-test-bot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def run
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
Expand Down

0 comments on commit b228799

Please sign in to comment.