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

Function new_kind_bogus_errors

atomic-cli/src/commands/intent/new.rs:243–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

241
242 #[test]
243 fn new_kind_bogus_errors() {
244 let (repo, _dir) = init_repo();
245 let err = create_intent(&repo, "Nope", "bogus", None).unwrap_err();
246 assert!(
247 matches!(err, CliError::InvalidArgument { .. }),
248 "unknown kind must be a clean argument error, got {err:?}"
249 );
250 }
251
252 #[test]
253 fn new_review_sets_kind_scaffolds_ref_and_gates() {

Callers

nothing calls this directly

Calls 2

create_intentFunction · 0.85
init_repoFunction · 0.70

Tested by

no test coverage detected