From 00df7365587488b76c0b5dcb4773f766ad78738e Mon Sep 17 00:00:00 2001 From: Tomas Prochazka Date: Wed, 15 Nov 2017 18:48:24 +0100 Subject: [PATCH] Fixed tests on Windows - use DIRECTORY_SEPARATOR --- .../php/PDepend/Integration/DependExcludePathFilterTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');