mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 08:55:40 +02:00
Rust 1.85, edition=2024 (#15741)
This commit is contained in:
@ -252,11 +252,13 @@ fn errors_if_file_not_found() {
|
||||
// provided error message
|
||||
|
||||
assert!(actual.err.contains("nu::shell::io::file_not_found"));
|
||||
assert!(actual.err.contains(
|
||||
&PathBuf::from_iter(["tests", "fixtures", "formats", "i_dont_exist.txt"])
|
||||
.display()
|
||||
.to_string()
|
||||
));
|
||||
assert!(
|
||||
actual.err.contains(
|
||||
&PathBuf::from_iter(["tests", "fixtures", "formats", "i_dont_exist.txt"])
|
||||
.display()
|
||||
.to_string()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Reference in New Issue
Block a user