mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 06:30:08 +02:00
make path exists work on expanded path (#5886)
* make path exists works with home * fix test name
This commit is contained in:
@ -51,3 +51,9 @@ fn checks_if_double_dot_exists() {
|
||||
assert_eq!(actual.out, "true");
|
||||
})
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn checks_tilde_relative_path_exists() {
|
||||
let actual = nu!(cwd: ".", "'~' | path exists");
|
||||
assert_eq!(actual.out, "true");
|
||||
}
|
||||
|
Reference in New Issue
Block a user