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

Function atomic_fail

atomic-cli/tests/it/git_shim_cb10a_test.rs:61–69  ·  view source on GitHub ↗
(root: &Path, home: &Path, args: &[&str])

Source from the content-addressed store, hash-verified

59}
60
61fn atomic_fail(root: &Path, home: &Path, args: &[&str]) -> String {
62 let output = atomic(root, home, args);
63 assert!(
64 !output.status.success(),
65 "atomic {args:?} unexpectedly succeeded:\n{}",
66 atomic_text(&output)
67 );
68 atomic_text(&output)
69}
70
71/// A colocated Git + Atomic repository with an active shadow sync.
72struct Colocated {

Callers 1

atomic_failsMethod · 0.70

Calls 2

atomicFunction · 0.70
atomic_textFunction · 0.70

Tested by

no test coverage detected