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

Function atomic_fail

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

Source from the content-addressed store, hash-verified

58}
59
60fn atomic_fail(root: &Path, home: &Path, args: &[&str]) -> String {
61 let output = atomic(root, home, args);
62 assert!(
63 !output.status.success(),
64 "atomic {args:?} unexpectedly succeeded:\n{}",
65 atomic_text(&output)
66 );
67 atomic_text(&output)
68}
69
70fn key_file(home: &Path) -> std::path::PathBuf {
71 let mut secret = [0u8; 32];

Callers 2

atomic_failsMethod · 0.70

Calls 2

atomicFunction · 0.70
atomic_textFunction · 0.70

Tested by

no test coverage detected