1
Fork 0
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:
Sylvestre Ledru 2020-11-21 00:49:30 +01:00 committed by GitHub
commit 7bbb4c98e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 47 additions and 47 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();
}