Jelajahi Sumber

use dirsep so phpunit on windows doesnt fail

Rob Bast 9 tahun lalu
induk
melakukan
a8995b2572
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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(