Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/assert-rs/assert_cmd
/ main
Function
main
examples/example_fixture.rs:26–35 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
}
25
26
fn main() {
27
let code = match run() {
28
Ok(_) => 0,
29
Err(ref e) => {
30
write!(&mut io::stderr(),
"{e}"
).expect(
"writing to stderr won't fail"
);
31
1
32
}
33
};
34
process::exit(code);
35
}
Callers
nothing calls this directly
Calls
1
run
Function · 0.70
Tested by
no test coverage detected