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

Function test_parse_empty_steps_ok

atomic-repository/src/query_plan.rs:556–560  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

554
555 #[test]
556 fn test_parse_empty_steps_ok() {
557 // An empty steps array is valid JSON for our schema (no minimum).
558 let plan = parse_plan(r#"{"steps": []}"#).unwrap();
559 assert!(plan.steps.is_empty());
560 }
561
562 #[test]
563 fn test_parse_unknown_step_type_errors() {

Callers

nothing calls this directly

Calls 2

parse_planFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected