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

Function failure

atomic-cli/tests/it/remote_sandbox_client_test.rs:266–273  ·  view source on GitHub ↗
(output: Output, what: &str)

Source from the content-addressed store, hash-verified

264}
265
266fn failure(output: Output, what: &str) -> String {
267 assert!(
268 !output.status.success(),
269 "{what} should have failed:\n{}",
270 text(&output)
271 );
272 text(&output)
273}
274
275fn write(root: &Path, rel: &str, content: &str) {
276 let path = root.join(rel);

Calls 1

textFunction · 0.70

Tested by

no test coverage detected