Selaa lähdekoodia

[Config] fix test on windows

Jordi Boggiano 14 vuotta sitten
vanhempi
commit
2ffa8521b5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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'
         );