Skip to content

Commit 31d95e7

Browse files
committed
apply @nicolas-grekas suggestion
1 parent 268718d commit 31d95e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/Twig/Tests/Extension/CodeExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public function testFileExcerptIntegration(string $expected, array $data)
152152

153153
public static function fileExcerptIntegrationProvider()
154154
{
155-
$fixturesPath = realpath(__DIR__.\DIRECTORY_SEPARATOR.'..'.\DIRECTORY_SEPARATOR.'Fixtures');
155+
$fixturesPath = \dirname(__DIR__).\DIRECTORY_SEPARATOR.'Fixtures';
156156

157157
yield 'php file' => [
158158
'expected' => <<<'HTML'

0 commit comments

Comments
 (0)