Skip to content

Commit a2cd3bc

Browse files
committed
System directory file order may be different
1 parent 4736dea commit a2cd3bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/Config/Tests/Builder/GeneratedConfigTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ private function assertDirectorySame($expected, $current)
198198
}
199199
$currentFiles[substr($file->getPathname(), \strlen($current))] = $file->getPathname();
200200
}
201+
ksort($expectedFiles);
202+
ksort($currentFiles);
201203

202204
$this->assertSame(array_keys($expectedFiles), array_keys($currentFiles));
203205
foreach ($expectedFiles as $fileName => $filePath) {

0 commit comments

Comments
 (0)