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:649–653  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

647
648 #[test]
649 fn test_parse_empty_steps_ok() {
650 // An empty steps array is valid JSON for our schema (no minimum).
651 let plan = parse_plan(r#"{"schema_version":1,"steps": []}"#).unwrap();
652 assert!(plan.steps.is_empty());
653 }
654
655 #[test]
656 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