From fef5e93f8e948fcb8f4e65490da8123603751f87 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 3 Feb 2006 09:28:13 +0000 Subject: [PATCH] Suppress XML error details when detailed output is off --- maintenance/parserTests.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maintenance/parserTests.inc b/maintenance/parserTests.inc index 09295a9add..63c4d13ccd 100644 --- a/maintenance/parserTests.inc +++ b/maintenance/parserTests.inc @@ -546,9 +546,9 @@ class ParserTest { print $this->termColor( '1;31' ) . 'FAILED!' . $this->termReset() . "\n"; if( $this->showDiffs ) { print $this->quickDiff( $result, $html ); - } - if( !$this->wellFormed( $html ) ) { - print "XML error: $this->mXmlError\n"; + if( !$this->wellFormed( $html ) ) { + print "XML error: $this->mXmlError\n"; + } } return false; } -- 2.20.1