Skip to content

Commit

Permalink
Try
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Feb 20, 2024
1 parent 311bcaa commit 4c97912
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/Binary/TwigCsFixerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ final class TwigCsFixerTest extends FileTestCase
{
public function testBinary(): void
{
$process = Process::fromShellCommandline(sprintf(
'%s lint Fixtures',
TestHelper::getOsPath(__DIR__.'/../../bin/twig-cs-fixer')
));
$process = new Process([
TestHelper::getOsPath(__DIR__.'/../../bin/twig-cs-fixer'),
'lint',
'Fixtures'
]);

static::assertSame(0, $process->run(), $process->getErrorOutput());
}
Expand Down

0 comments on commit 4c97912

Please sign in to comment.