use assert_cmd::prelude::*; use predicates::prelude::*; use std::process::Command;
#[test]
fn integration_walk_inpath_doesnt_exist() -> Result<(), Box<dyn std::error::Error>> {
let mut cmd = Command::cargo_bin("recurse")?;
cmd.arg("walk").arg("testfiles/doesnt/exist");
cmd.assert()
.failure()
.stderr(predicate::str::contains("no such file or directory"))
.code(1);
Ok(())
}