1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Add UError impl for clap::Error

This commit is contained in:
Sam Caldwell 2022-02-28 23:30:29 -07:00 committed by Sylvestre Ledru
parent 979909e371
commit f40fecf86d
3 changed files with 13 additions and 2 deletions

View file

@ -190,7 +190,7 @@ fn test_cp_target_directory_is_file() {
.arg(TEST_HOW_ARE_YOU_SOURCE)
.arg(TEST_HELLO_WORLD_SOURCE)
.fails()
.stderr_contains("must specify a directory");
.stderr_contains(format!("'{}' is not a directory", TEST_HOW_ARE_YOU_SOURCE));
}
#[test]