mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
brew-test-bot: delete takes string, not regex.
This commit is contained in:
parent
4401ee0819
commit
b2287999e1
@ -474,7 +474,7 @@ if ARGV.include? "--junit"
|
|||||||
failure = testcase.add_element 'failure' if step.failed?
|
failure = testcase.add_element 'failure' if step.failed?
|
||||||
if step.has_output?
|
if step.has_output?
|
||||||
# Remove invalid XML CData characters from step 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?
|
if step.passed?
|
||||||
system_out = testcase.add_element 'system-out'
|
system_out = testcase.add_element 'system-out'
|
||||||
system_out.text = output
|
system_out.text = output
|
||||||
|
Loading…
x
Reference in New Issue
Block a user