Skip to content

Commit

Permalink
Ignore txt files in cache tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls committed Dec 1, 2017
1 parent f704bc9 commit febab6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/features/cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function testDifferentCacheForDifferentPaths()
));
$count = function () use ($dir) {
return count(array_filter(scandir($dir), function ($item) {
return substr($item, 0, 1) !== '.';
return substr($item, 0, 1) !== '.' && pathinfo($item, PATHINFO_EXTENSION) !== 'txt';
}));
};
self::assertSame(0, $count());
Expand Down

0 comments on commit febab6b

Please sign in to comment.