mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 07:05:47 +02:00
Rust 1.85, edition=2024 (#15741)
This commit is contained in:
@ -283,17 +283,21 @@ fn source_env_is_scoped() {
|
||||
|
||||
let actual = nu!(cwd: dirs.test(), &inp.join("; "));
|
||||
|
||||
assert!(actual
|
||||
.err
|
||||
.contains("Command `no-name-similar-to-this` not found"));
|
||||
assert!(
|
||||
actual
|
||||
.err
|
||||
.contains("Command `no-name-similar-to-this` not found")
|
||||
);
|
||||
|
||||
let inp = &[r#"source-env spam.nu"#, r#"nor-similar-to-this"#];
|
||||
|
||||
let actual = nu!(cwd: dirs.test(), &inp.join("; "));
|
||||
|
||||
assert!(actual
|
||||
.err
|
||||
.contains("Command `nor-similar-to-this` not found"));
|
||||
assert!(
|
||||
actual
|
||||
.err
|
||||
.contains("Command `nor-similar-to-this` not found")
|
||||
);
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user