瀏覽代碼

[Config] fix test on windows

Jordi Boggiano 14 年之前
父節點
當前提交
2ffa8521b5
共有 1 個文件被更改,包括 1 次插入1 次删除
  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'
         );