Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/assert-rs/assert_cmd
/ trait_assert_example
Function
trait_assert_example
tests/assert.rs:24–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
22
23
#[test]
24
fn trait_assert_example() {
25
let mut cmd = Command::cargo_bin(
"bin_fixture"
).unwrap();
26
cmd.assert().success();
27
}
28
29
#[test]
30
fn struct_example() {
Callers
nothing calls this directly
Calls
4
cargo_bin
Function · 0.85
success
Method · 0.80
unwrap
Method · 0.45
assert
Method · 0.45
Tested by
no test coverage detected