You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let stderr = String::from_utf8(out.stderr).unwrap();
629
-
assert!(stderr.starts_with(
630
-
for_host!("error: override toolchain 'nightly-{0}' is not installed")));
631
-
assert!(!stderr.contains("info: caused by: not a directory: "));
629
+
assert!(out.status.success());
630
+
let stdout = String::from_utf8(out.stdout).unwrap();
631
+
assert!(!stdout.contains("not a directory"));
632
+
assert!(Regex::new(r"error: override toolchain 'nightly.*' is not installed, the directory override for '.*' specifies an uninstalled toolchain").unwrap().is_match(&stdout))
assert!(stdout.contains("override toolchain 'nightly' is not installed, the RUSTUP_TOOLCHAIN environment variable specifies an uninstalled toolchain"));
0 commit comments