D3r1ck01 has uploaded a new change for review. https://gerrit.wikimedia.org/r/238673
Change subject: modification to the wfDiff() function call in the parser test ...................................................................... modification to the wfDiff() function call in the parser test Change-Id: I8aa71513544fba750ac13702432546eeb4e7ff61 --- M includes/parser/ParserDiffTest.php 1 file changed, 3 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/73/238673/1 diff --git a/includes/parser/ParserDiffTest.php b/includes/parser/ParserDiffTest.php index 9fdd6eb..1a63a0b 100644 --- a/includes/parser/ParserDiffTest.php +++ b/includes/parser/ParserDiffTest.php @@ -87,10 +87,9 @@ foreach ( $this->parsers as $i => $parser ) { $resultsList[] = var_export( $results[$i], true ); } - //$diff = wfDiff( $resultsList[0], $resultsList[1] ); - $diffs = new Diff( explode( "\n", $resultsList[0] ), explode( "\n", $resultsList[1] ) ); - $diff = new UnifiedDiffFormatter(); - $format->format( $diff ); + $diff = new Diff( explode( "\n", $resultsList[0] ), explode( "\n", $resultsList[1] ) ); + $format = new UnifiedDiffFormatter(); + $format->format( $format ); } else { $diff = '[too many parsers]'; } -- To view, visit https://gerrit.wikimedia.org/r/238673 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I8aa71513544fba750ac13702432546eeb4e7ff61 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: D3r1ck01 <alangider...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits