File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -132,15 +132,15 @@ function should-use-standalone() {
132
132
133
133
# macOS use homebrew but falls back to standalone when brew is unavailable then
134
134
# to npm for unsupported architectures.
135
- @test " $SCRIPT_NAME : macos arm64 (no brew)" {
136
- should-fallback-npm-brew " arm64"
137
- }
138
135
@test " $SCRIPT_NAME : macos amd64 (no brew)" {
139
- BREW_PATH= OS=macos ARCH=amd64 run " $SCRIPT " --dry-run
136
+ should-fallback-npm-brew " amd64"
137
+ }
138
+ @test " $SCRIPT_NAME : macos arm64 (no brew)" {
139
+ BREW_PATH= OS=macos ARCH=arm64 run " $SCRIPT " --dry-run
140
140
[ " $status " -eq 0 ]
141
141
[ " ${lines[1]} " = " Homebrew not installed." ]
142
142
[ " ${lines[2]} " = " Falling back to standalone installation." ]
143
- [ " ${lines[3]} " = " Installing v$VERSION of the amd64 release from GitHub." ]
143
+ [ " ${lines[3]} " = " Installing v$VERSION of the arm64 release from GitHub." ]
144
144
[[ " ${lines[-6]} " = " Standalone release has been installed" * ]]
145
145
}
146
146
@test " $SCRIPT_NAME : macos i386 (no brew)" {
You can’t perform that action at this time.
0 commit comments