Skip to content

Commit

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

$process = new Process([TestHelper::getOsPath($bin), 'lint', 'Fixtures']);

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

0 comments on commit 875cfe7

Please sign in to comment.