Quellcode durchsuchen

use dirsep so phpunit on windows doesnt fail

Rob Bast vor 9 Jahren
Ursprung
Commit
a8995b2572
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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(