MCPcopy Create free account
hub / github.com/untitaker/hyperlink / test_bad_dir

Function test_bad_dir

tests/cli.rs:57–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55
56#[test]
57fn test_bad_dir() {
58 let mut cmd = Command::new(cargo::cargo_bin!("hyperlink"));
59 cmd.arg("non_existing_dir");
60
61 cmd.assert()
62 .failure()
63 .code(1)
64 .stdout("Reading files\n")
65 .stderr(predicate::str::contains(
66 "Error: IO error for operation on non_existing_dir:",
67 ));
68}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…