Skip to content

Commit

Permalink
minor: fix failing windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond committed Nov 6, 2024
1 parent 18bbdf5 commit d31e217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TailwindBinaryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function testBinaryIsDownloadedAndProcessCreated()
$this->assertFileExists($binaryDownloadDir.'/fake-version/'.TailwindBinary::getBinaryName());

// Windows doesn't wrap arguments in quotes
$expectedTemplate = '\\' === \DIRECTORY_SEPARATOR ? '"%s" -i fake.css' : "'%s' '-i' 'fake.css'";
$expectedTemplate = '\\' === \DIRECTORY_SEPARATOR ? '%s -i fake.css' : "'%s' '-i' 'fake.css'";

$this->assertSame(
\sprintf($expectedTemplate, $binaryDownloadDir.'/fake-version/'.TailwindBinary::getBinaryName()),
Expand Down

0 comments on commit d31e217

Please sign in to comment.