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

refactor(pwd): move to clap + add a test

This commit is contained in:
Sylvestre Ledru 2020-11-03 22:58:01 +01:00
parent a3f3a050a8
commit 92d5d47434
4 changed files with 87 additions and 87 deletions

View file

@ -5,3 +5,9 @@ fn test_default() {
let (at, mut ucmd) = at_and_ucmd!();
ucmd.run().stdout_is(at.root_dir_resolved() + "\n");
}
#[test]
fn test_failed() {
let (_at, mut ucmd) = at_and_ucmd!();
ucmd.arg("willfail").fails();
}