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

Method ok_at

atomic-cli/tests/it/diagnostics_integration_test.rs:72–77  ·  view source on GitHub ↗
(&self, work: &Path, args: &[&str])

Source from the content-addressed store, hash-verified

70 }
71
72 fn ok_at(&self, work: &Path, args: &[&str]) -> String {
73 let output = self.run_at(work, args);
74 assert!(output.status.success(), "{args:?}: {output:?}");
75 assert!(!String::from_utf8_lossy(&output.stderr).contains("SYNTHETIC_"));
76 String::from_utf8(output.stdout).unwrap()
77 }
78
79 fn git(&self, work: &Path, args: &[&str]) {
80 let output = Command::new("git")

Calls 2

run_atMethod · 0.80
unwrapMethod · 0.45

Tested by

no test coverage detected