1
Fork 0
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:
Sylvestre Ledru 2020-11-11 22:33:35 +01:00
parent f47005e999
commit 2febd13733
4 changed files with 26 additions and 53 deletions

View file

@ -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();
}