mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
ln: use uucore::prompt_yes over custom function
This commit is contained in:
parent
ed34264b95
commit
7bb0e8f849
2 changed files with 4 additions and 17 deletions
|
@ -117,7 +117,7 @@ fn test_symlink_interactive() {
|
|||
.args(&["-i", "-s", file, link])
|
||||
.pipe_in("n")
|
||||
.succeeds()
|
||||
.no_stderr();
|
||||
.no_stdout();
|
||||
|
||||
assert!(at.file_exists(file));
|
||||
assert!(!at.is_symlink(link));
|
||||
|
@ -127,7 +127,7 @@ fn test_symlink_interactive() {
|
|||
.args(&["-i", "-s", file, link])
|
||||
.pipe_in("Yesh") // spell-checker:disable-line
|
||||
.succeeds()
|
||||
.no_stderr();
|
||||
.no_stdout();
|
||||
|
||||
assert!(at.file_exists(file));
|
||||
assert!(at.is_symlink(link));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue