Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/assert-rs/assert_cmd
/ trait_example
Function
trait_example
tests/assert.rs:18–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
17
#[test]
18
fn trait_example() {
19
let mut cmd = Command::cargo_bin(
"bin_fixture"
).unwrap();
20
cmd.assert().success();
21
}
22
23
#[test]
24
fn trait_assert_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