Jelajahi Sumber

[Config] fix test on windows

Jordi Boggiano 14 tahun lalu
induk
melakukan
2ffa8521b5
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      tests/Symfony/Tests/Component/Config/FileLocatorTest.php

+ 1 - 1
tests/Symfony/Tests/Component/Config/FileLocatorTest.php

@@ -56,7 +56,7 @@ class FileLocatorTest extends \PHPUnit_Framework_TestCase
 
         $this->assertEquals(
             __DIR__.'/Fixtures'.DIRECTORY_SEPARATOR.'foo.xml',
-            $loader->locate(__DIR__.'/Fixtures/foo.xml', __DIR__),
+            $loader->locate(__DIR__.'/Fixtures'.DIRECTORY_SEPARATOR.'foo.xml', __DIR__),
             '->locate() returns the absolute filename if the file exists in one of the paths given in the constructor'
         );