1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

install: clap 3

This commit is contained in:
Terts Diepraam 2022-01-11 13:45:35 +01:00
parent 8c58f8e2b1
commit 89112fb1c2
3 changed files with 33 additions and 43 deletions

View file

@ -9,16 +9,6 @@ use std::process::Command;
#[cfg(target_os = "linux")]
use std::thread::sleep;
#[test]
fn test_install_help() {
let (_, mut ucmd) = at_and_ucmd!();
ucmd.arg("--help")
.succeeds()
.no_stderr()
.stdout_contains("FLAGS:");
}
#[test]
fn test_install_basic() {
let (at, mut ucmd) = at_and_ucmd!();