Skip to content

Commit 9118096

Browse files
committed
windows file name
1 parent 30ef95c commit 9118096

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/Units/PlatformTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ public function testInstallBinary()
107107
// Check vendor/bin symlink or copy
108108
$vendorBinDir = $vendorDir . '/bin';
109109
$symlinkPath = $vendorBinDir . '/volt-test';
110-
110+
if (PHP_OS_FAMILY === 'Windows') {
111+
$symlinkPath .= '.exe';
112+
}
111113
$this->assertTrue(
112114
file_exists($symlinkPath) || is_link($symlinkPath),
113115
"Symlink or copy in vendor/bin directory was not created"

0 commit comments

Comments
 (0)