MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / assert_success

Function assert_success

atomic-cli/tests/it/git_binding_cb6a_test.rs:36–43  ·  view source on GitHub ↗
(output: &Output, context: &str)

Source from the content-addressed store, hash-verified

34}
35
36fn assert_success(output: &Output, context: &str) {
37 assert!(
38 output.status.success(),
39 "{context} failed:\nstdout:\n{}\nstderr:\n{}",
40 String::from_utf8_lossy(&output.stdout),
41 String::from_utf8_lossy(&output.stderr)
42 );
43}
44
45/// Hex-encoded deterministic signing key file (test-owned, never the global
46/// identity store).

Calls

no outgoing calls

Tested by

no test coverage detected