8000 Merge branch '5.0' · symfony/symfony@edb0518 · GitHub
[go: up one dir, main page]

Skip to content

Commit edb0518

Browse files
committed
Merge branch '5.0'
* 5.0: Fix tests Fix test
2 parents b7c7b6f + 780b539 commit edb0518

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,15 +1488,15 @@ public function testPreparedCommandWithQuoteInIt()
14881488
public function testPreparedCommandWithMissingValue()
14891489
{
14901490
$this->expectException('Symfony\Component\Process\Exception\InvalidArgumentException');
1491-
$this->expectExceptionMessage('Command line is missing a value for parameter "abc": echo "${:abc}".');
1491+
$this->expectExceptionMessage('Command line is missing a value for parameter "abc": echo "${:abc}"');
14921492
$p = Process::fromShellCommandline('echo "${:abc}"');
14931493
$p->run(null, ['bcd' => 'BCD']);
14941494
}
14951495

14961496
public function testPreparedCommandWithNoValues()
14971497
{
14981498
$this->expectException('Symfony\Component\Process\Exception\InvalidArgumentException');
1499-
$this->expectExceptionMessage('Command line is missing a value for parameter "abc": echo "${:abc}".');
1499+
$this->expectExceptionMessage('Command line is missing a value for parameter "abc": echo "${:abc}"');
15001500
$p = Process::fromShellCommandline('echo "${:abc}"');
15011501
$p->run(null, []);
15021502
}

0 commit comments

Comments
 (0)
0