1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

mv: use uucore::prompt_yes over custom function

This commit is contained in:
Terts Diepraam 2022-11-16 15:16:03 +01:00
parent 7bb0e8f849
commit 91df2b1709
2 changed files with 6 additions and 19 deletions

View file

@ -166,7 +166,7 @@ fn test_mv_interactive() {
.arg(file_b)
.pipe_in("n")
.succeeds()
.no_stderr();
.no_stdout();
assert!(at.file_exists(file_a));
assert!(at.file_exists(file_b));
@ -178,7 +178,7 @@ fn test_mv_interactive() {
.arg(file_b)
.pipe_in("Yesh") // spell-checker:disable-line
.succeeds()
.no_stderr();
.no_stdout();
assert!(!at.file_exists(file_a));
assert!(at.file_exists(file_b));