mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
refactor(sync): Move to clap + add tests
This commit is contained in:
parent
f47005e999
commit
2febd13733
4 changed files with 26 additions and 53 deletions
|
@ -1 +1,11 @@
|
|||
// ToDO: add tests
|
||||
use crate::common::util::*;
|
||||
|
||||
#[test]
|
||||
fn test_sync_default() {
|
||||
new_ucmd!().run();
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_sync_incorrect_arg() {
|
||||
new_ucmd!().arg("--foo").fails();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue