Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4ca2c98

Browse files
committed
Make sure .editorconfig does not break tests
1 parent 0651bac commit 4ca2c98

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/Symfony/Component/Process/Tests/ProcessTest.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1441,16 +1441,7 @@ public function testRawCommandLine()
14411441
$p = Process::fromShellCommandline(sprintf('"%s" -r %s "a" "" "b"', self::$phpBin, escapeshellarg('print_r($argv);')));
14421442
$p->run();
14431443

1444-
$expected = <<<EOTXT
1445-
Array
1446-
(
1447-
[0] => -
1448-
[1] => a
1449-
[2] =>
1450-
[3] => b
1451-
)
1452-
1453-
EOTXT;
1444+
$expected = "Array\n(\n [0] => -\n [1] => a\n [2] => \n [3] => b\n)\n";
14541445
$this->assertSame($expected, str_replace('Standard input code', '-', $p->getOutput()));
14551446
}
14561447

0 commit comments

Comments
 (0)