diff --git a/src/test/php/PDepend/Integration/DependExcludePathFilterTest.php b/src/test/php/PDepend/Integration/DependExcludePathFilterTest.php index a18779ba2d..75e2d96e23 100644 --- a/src/test/php/PDepend/Integration/DependExcludePathFilterTest.php +++ b/src/test/php/PDepend/Integration/DependExcludePathFilterTest.php @@ -67,7 +67,7 @@ public function testPDependFiltersSingleFileWithPattern() $this->changeWorkingDirectory(); $directory = $this->createCodeResourceUriForTest(); - $pattern = '*/Integration/*'; + $pattern = '*' . DIRECTORY_SEPARATOR . 'Integration' . DIRECTORY_SEPARATOR . '*'; $pdepend = $this->createEngineFixture(); $pdepend->addFile($this->createCodeResourceUriForTest().'/Integration/FilteredClass.php');