summaryrefslogtreecommitdiff
path: root/cli/tests/install_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-01-08 09:03:55 -0500
committerGitHub <noreply@github.com>2023-01-08 09:03:55 -0500
commit2be1282be42369e558cc77f75b22488ce7a8215e (patch)
tree397b7d626b537576801c53f912fdecb4ea85bb4a /cli/tests/install_tests.rs
parentad82918f56b215a428ebe7c533ee825e1152d1b4 (diff)
fix(install): should always include `--no-config` in shim unless `--config` is specified (#17300)
Closes #17294
Diffstat (limited to 'cli/tests/install_tests.rs')
-rw-r--r--cli/tests/install_tests.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tests/install_tests.rs b/cli/tests/install_tests.rs
index f0714e200..4b6efc924 100644
--- a/cli/tests/install_tests.rs
+++ b/cli/tests/install_tests.rs
@@ -55,12 +55,12 @@ mod install {
if cfg!(windows) {
assert_contains!(
content,
- r#""run" "--check" "http://localhost:4545/echo.ts""#
+ r#""run" "--check" "--no-config" "http://localhost:4545/echo.ts""#
);
} else {
assert_contains!(
content,
- r#"run --check 'http://localhost:4545/echo.ts'"#
+ r#"run --check --no-config 'http://localhost:4545/echo.ts'"#
);
}
@@ -121,12 +121,12 @@ mod install {
if cfg!(windows) {
assert_contains!(
content,
- r#""run" "--check" "http://localhost:4545/echo.ts""#
+ r#""run" "--check" "--no-config" "http://localhost:4545/echo.ts""#
);
} else {
assert_contains!(
content,
- r#"run --check 'http://localhost:4545/echo.ts'"#
+ r#"run --check --no-config 'http://localhost:4545/echo.ts'"#
);
}
}