Skip to content

Commit bc3db05

Browse files
committed
Fix remaining tests
1 parent 7bb97d3 commit bc3db05

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Tests/Iterator/SortableIteratorTest.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,7 @@ public function testAccept($mode, $expected)
3333
if (!\is_callable($mode)) {
3434
switch ($mode) {
3535
case SortableIterator::SORT_BY_ACCESSED_TIME:
36-
if ('\\' === \DIRECTORY_SEPARATOR) {
37-
touch(self::toAbsolute('.git'));
38-
} else {
39-
file_get_contents(self::toAbsolute('.git'));
40-
}
36+
touch(self::toAbsolute('.git'));
4137
sleep(1);
4238
file_get_contents(self::toAbsolute('.bar'));
4339
break;

0 commit comments

Comments
 (0)