Skip to content

Commit

Permalink
chore: fixes style
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Nov 5, 2023
1 parent 4603439 commit b132a78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/Binary.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@

$arch = str_contains(php_uname('m'), 'arm') ? 'arm64' : 'amd64';

expect((string) $binary)->toBe(realpath(__DIR__.'/../../bin/k6-macos-'. $arch));
expect((string) $binary)->toBe(realpath(__DIR__.'/../../bin/k6-macos-'.$arch));
})->skipOnLinux()->skipOnWindows();

it('infers the path from the environment on Linux', function (): void {
$binary = Binary::k6();

$arch = str_contains(php_uname('m'), 'arm') ? 'arm64' : 'amd64';

expect((string) $binary)->toBe(realpath(__DIR__.'/../../bin/k6-linux-'. $arch));
expect((string) $binary)->toBe(realpath(__DIR__.'/../../bin/k6-linux-'.$arch));
})->skipOnMac()->skipOnWindows();

0 comments on commit b132a78

Please sign in to comment.