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:
parent
7bb0e8f849
commit
91df2b1709
2 changed files with 6 additions and 19 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue