Skip to content

Commit ad2bb5c

Browse files
committed
Convert slashes in path for windows compatibility
1 parent e9f65d6 commit ad2bb5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/static/testsuite/Magento/Test/Integrity/ClassesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ public function testCoversAnnotation()
601601
$errors = [];
602602
$filesToTest = $files->getPhpFiles(Files::INCLUDE_TESTS);
603603

604-
if (($key = array_search(__FILE__, $filesToTest)) !== false) {
604+
if (($key = array_search(str_replace('\\', '/', __FILE__), $filesToTest)) !== false) {
605605
unset($filesToTest[$key]);
606606
}
607607

0 commit comments

Comments
 (0)