diff --git a/Tests/PHP/CodeCoverage/Report/FactoryTest.php b/Tests/PHP/CodeCoverage/Report/FactoryTest.php index 7d7568bb6..bdbc6ef6e 100644 --- a/Tests/PHP/CodeCoverage/Report/FactoryTest.php +++ b/Tests/PHP/CodeCoverage/Report/FactoryTest.php @@ -80,7 +80,7 @@ public function testSomething() { $root = $this->getCoverageForBankAccount()->getReport(); - $expectedPath = rtrim(TEST_FILES_PATH, '/'); + $expectedPath = rtrim(TEST_FILES_PATH, DIRECTORY_SEPARATOR); $this->assertEquals($expectedPath, $root->getName()); $this->assertEquals($expectedPath, $root->getPath()); $this->assertEquals(10, $root->getNumExecutableLines());