mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 07:05:47 +02:00
Refactor: Construct IoError
from std::io::Error
instead of std::io::ErrorKind
(#15777)
This commit is contained in:
@ -60,5 +60,5 @@ fn self_path_runtime() {
|
||||
fn self_path_repl() {
|
||||
let actual = nu!("const foo = path self; $foo");
|
||||
assert!(!actual.status.success());
|
||||
assert!(actual.err.contains("nu::shell::io::not_found"));
|
||||
assert!(actual.err.contains("nu::shell::io::file_not_found"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user