Skip to content

Commit

Permalink
Improve test to cover escaped mutant
Browse files Browse the repository at this point in the history
  • Loading branch information
fredden committed Mar 5, 2024
1 parent cf8fe01 commit f3eacca
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ public function testGlobPattern(): void

$files = $this->files(['bin' . DIRECTORY_SEPARATOR . 'console*.php'], $this->root->path() . DIRECTORY_SEPARATOR);
$files = str_replace(['\\', '/'], DIRECTORY_SEPARATOR, $files);

foreach ($files as $file) {
$this->assertStringNotContainsString(DIRECTORY_SEPARATOR . DIRECTORY_SEPARATOR, $file);
}

$files = array_map('realpath', $files);

self::assertCount(2, $files);
Expand Down

0 comments on commit f3eacca

Please sign in to comment.