Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 461d4cb

Browse files
Update script tests
Installing from npm now tells you the version.
1 parent 31bc0c6 commit 461d4cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎test/scripts/install.bats‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ function should-fallback-npm() {
2626
[ "$status" -eq 0 ]
2727
[ "${lines[1]}" = "No standalone releases for 2ドル." ]
2828
[ "${lines[2]}" = "Falling back to installation from npm." ]
29-
[ "${lines[3]}" = "Installing latest from npm." ]
29+
[ "${lines[3]}" = "Installing v$VERSION from npm." ]
3030
[ "${lines[-6]}" = "npm package has been installed." ]
3131
}
3232

3333
function should-use-npm() {
3434
YARN_PATH=true DISTRO=1ドル ARCH=2ドル OS=linux run "$SCRIPT" --dry-run
3535
[ "$status" -eq 0 ]
36-
[ "${lines[1]}" = "Installing latest from npm." ]
36+
[ "${lines[1]}" = "Installing v$VERSION from npm." ]
3737
[ "${lines[-6]}" = "npm package has been installed." ]
3838
}
3939

@@ -51,7 +51,7 @@ function should-fallback-npm-brew() {
5151
[ "${lines[2]}" = "Falling back to standalone installation." ]
5252
[ "${lines[3]}" = "No standalone releases for 1ドル." ]
5353
[ "${lines[4]}" = "Falling back to installation from npm." ]
54-
[ "${lines[5]}" = "Installing latest from npm." ]
54+
[ "${lines[5]}" = "Installing v$VERSION from npm." ]
5555
[ "${lines[-6]}" = "npm package has been installed." ]
5656
}
5757

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /