mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
refactor(pwd): move to clap + add a test
This commit is contained in:
parent
a3f3a050a8
commit
92d5d47434
4 changed files with 87 additions and 87 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue