From 1f252ef684f2c1b639387f80ec1e06ee70b2b881 Mon Sep 17 00:00:00 2001 From: Nikolay Matveev Date: Wed, 29 Feb 2012 19:44:20 +0400 Subject: [PATCH] fix test on Windows (use system dependent directory separator) --- Tests/PHP/CodeCoverage/Report/FactoryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());