MCPcopy Create free account
hub / github.com/assert-rs/assert_cmd / cargo_bin_in_unit_test

Function cargo_bin_in_unit_test

src/cargo.rs:301–303  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

299#[should_panic = "`CARGO_BIN_EXE_non-existent` is unset
300help: if this is running within a unit test, move it to an integration test to gain access to `CARGO_BIN_EXE_non-existent`"]
301fn cargo_bin_in_unit_test() {
302 cargo_bin("non-existent");
303}

Callers

nothing calls this directly

Calls 1

cargo_binFunction · 0.85

Tested by

no test coverage detected