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

Function success_example

tests/assert.rs:45–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43
44#[test]
45fn success_example() {
46 Command::cargo_bin("bin_fixture")
47 .unwrap()
48 .assert()
49 .success();
50}
51
52#[test]
53fn failure_example() {

Callers

nothing calls this directly

Calls 4

cargo_binFunction · 0.85
successMethod · 0.80
assertMethod · 0.45
unwrapMethod · 0.45

Tested by

no test coverage detected