ソースを参照

use dirsep so phpunit on windows doesnt fail

Rob Bast 9 年 前
コミット
a8995b2572
1 ファイル変更2 行追加2 行削除
  1. 2 2
      tests/Composer/Test/Installer/LibraryInstallerTest.php

+ 2 - 2
tests/Composer/Test/Installer/LibraryInstallerTest.php

@@ -39,10 +39,10 @@ class LibraryInstallerTest extends TestCase
         $this->composer->setConfig($this->config);
 
         $this->rootDir = $this->getUniqueTmpDirectory();
-        $this->vendorDir = $this->rootDir.'/vendor';
+        $this->vendorDir = $this->rootDir.DIRECTORY_SEPARATOR.'vendor';
         $this->ensureDirectoryExistsAndClear($this->vendorDir);
 
-        $this->binDir = $this->rootDir.'/bin';
+        $this->binDir = $this->rootDir.DIRECTORY_SEPARATOR.'bin';
         $this->ensureDirectoryExistsAndClear($this->binDir);
 
         $this->config->merge(array(