Revert "Temporarily trim leading/trailing whitespace from parser test clauses"
authorC. Scott Ananian <cscott@cscott.net>
Fri, 15 Mar 2019 18:16:33 +0000 (14:16 -0400)
committerC. Scott Ananian <cscott@cscott.net>
Fri, 15 Mar 2019 18:22:47 +0000 (14:22 -0400)
This reverts commit 0363dbf98e6b71e92d439e0e2020bb388cc2aea2, since
T208070 is now merged.

Bug: T208070
Depends-On: I05511aee275238954f22db78616b19ce10cd6490
Depends-On: I120ca25a77b7b933de4afddd1d458e36a95e26da
Depends-On: I47d1d9620031036b9497cacf70b34a45c3e5f409
Depends-On: I6119b4af9632496dbda81c3a3951c55217e7c2d5
Depends-On: I584f74e2ba0d14c2975fb43cc53c5e26080e6fc7
Depends-On: Ie70e1915c172d2d67b3b8b90eb35f753b800f61e
Depends-On: I74953d5de765a2245a2999f17c7ae1cf49376bd1
Change-Id: I63f60b2e8beea9dde883c4ad65d0bd4411f93e70

tests/parser/ParserTestRunner.php

index 6bf781d..699de95 100644 (file)
@@ -919,10 +919,6 @@ class ParserTestRunner {
                ScopedCallback::consume( $teardownGuard );
 
                $expected = $test['result'];
-               // Temporary hack to allow merge of T208070 patches
-               $expected = trim( $expected );
-               $out = trim( $expected );
-               // End temporary hack
                if ( count( $this->normalizationFunctions ) ) {
                        $expected = ParserTestResultNormalizer::normalize(
                                $test['expected'], $this->normalizationFunctions );