MCPcopy Index your code
hub / github.com/assert-rs/assert_cmd / failure_example

Function failure_example

tests/assert.rs:53–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51
52#[test]
53fn failure_example() {
54 Command::cargo_bin("bin_fixture")
55 .unwrap()
56 .env("exit", "1")
57 .assert()
58 .failure();
59}
60
61#[test]
62fn code_example() {

Callers

nothing calls this directly

Calls 5

cargo_binFunction · 0.85
failureMethod · 0.80
envMethod · 0.80
assertMethod · 0.45
unwrapMethod · 0.45

Tested by

no test coverage detected