Skip to content

Commit 680b2ed

Browse files
committed
Fixed test case.
1 parent 62f32f7 commit 680b2ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cli-self-upd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ fn install_but_rustup_sh_is_installed() {
11661166
fs::create_dir_all(&rustup_dir).unwrap();
11671167
let version_file = rustup_dir.join("rustup-version");
11681168
raw::write_file(&version_file, "").unwrap();
1169-
expect_err(
1169+
expect_stderr_ok(
11701170
config,
11711171
&["rustup-init", "-y"],
11721172
"cannot install while rustup.sh is installed",

0 commit comments

Comments
 (0)