Skip to content

Commit 0c1e904

Browse files
Also test the is-cached path
1 parent 6c0500d commit 0c1e904

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/tests/FilterTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ public function testIncludedFileIsNotFiltered(): void
7878
$filter->includeFile(realpath(__DIR__ . '/../_files/filter/a.php'));
7979

8080
$this->assertFalse($filter->isExcluded(realpath(__DIR__ . '/../_files/filter/a.php')));
81+
82+
/**
83+
* Assertion is performed twice to test the is-cached path.
84+
*/
85+
$this->assertFalse($filter->isExcluded(realpath(__DIR__ . '/../_files/filter/a.php')));
8186
}
8287

8388
public function testNotIncludedFileIsFiltered(): void

0 commit comments

Comments
 (0)