mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 10:45:41 +02:00
Rust 1.85, edition=2024 (#15741)
This commit is contained in:
@ -196,9 +196,11 @@ fn use_module_creates_accurate_did_you_mean_2() {
|
||||
let actual = nu!(r#"
|
||||
module spam { export def foo [] { "foo" } }; foo
|
||||
"#);
|
||||
assert!(actual
|
||||
.err
|
||||
.contains("A command with that name exists in module `spam`"));
|
||||
assert!(
|
||||
actual
|
||||
.err
|
||||
.contains("A command with that name exists in module `spam`")
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Reference in New Issue
Block a user