Skip to content

Commit 6c6ff80

Browse files
committed
Remove unnecessary '--from-binary' flag in test cases.
1 parent af0601b commit 6c6ff80

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/test_install_version.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ dvm_test_error() {
1010

1111
# Install deno v1.0.0
1212
TARGET_VERSION="1.0.0"
13-
dvm install "v$TARGET_VERSION" --from-binary --verbose || dvm_test_error "run 'dvm install v$TARGET_VERSION' failed"
13+
dvm install "v$TARGET_VERSION" --verbose || dvm_test_error "run 'dvm install v$TARGET_VERSION' failed"
1414

1515
# Check installed version directory
1616
[ -d "$DVM_DIR/versions/v$TARGET_VERSION" ] || dvm_test_error "'$DVM_DIR/versions/v$TARGET_VERSION' is not a directory"
1717

1818
# Install another deno
19-
dvm install v1.14.0 --verbose --from-binary
19+
dvm install v1.14.0 --verbose
2020

2121
# Check deno version
2222
dvm run "v$TARGET_VERSION" --version | grep "deno $TARGET_VERSION" || dvm_test_error "deno is invalid"

test/test_uninstall_version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dvm uninstall default --verbose || dvm_test_error "run 'dvm uninstall default' f
1616
[ ! -f "$DVM_DIR/versions/v1.14.0/deno" ] || dvm_test_error "deno v1.14.0 should be uninstalled"
1717

1818
# Install deno v1.14.0 again
19-
dvm install v1.14.0 --verbose --from-binary
19+
dvm install v1.14.0 --verbose
2020

2121
dvm deactivate
2222

0 commit comments

Comments
 (0)