mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #1623 from sylvestre/clap-pwd
refactor(pwd): move to clap + add a test
This commit is contained in:
commit
7bbb4c98e8
4 changed files with 47 additions and 47 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