Commit d4e0b5c
test: improve assertions in summary.rs and agentic_pipeline.rs (#1075)
- from_pipeline_round_trips_jobs_and_graph: add env_refs[0].name,
condition_refs[0].step, condition_refs[0].name, and
prod_step.outputs[0].name assertions (previously only counts /
auto_is_output flag were checked, leaving regressions on which
step/output is referenced invisible)
- serializes_to_json_without_panicking: rename to
serialized_json_contains_schema_version_and_shape so the name
reflects that it validates specific JSON fields, not merely that
serialization doesn't panic
- fold_agent_conditions_preserves_clause_order: add diagnostic message
- parse_env_block_bails_on_malformed_yaml: correct comment — the
invalid input has the stray ':' in the value, not in the key
- split_yaml_step_sequence_multiple_steps_without_blank_line_separator:
add starts_with("- bash:") format checks for both chunks, matching
the single-step sibling test
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 29d2a2e commit d4e0b5c
2 files changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2222 | 2222 | | |
2223 | 2223 | | |
2224 | 2224 | | |
2225 | | - | |
| 2225 | + | |
2226 | 2226 | | |
2227 | 2227 | | |
2228 | 2228 | | |
| |||
2255 | 2255 | | |
2256 | 2256 | | |
2257 | 2257 | | |
2258 | | - | |
2259 | | - | |
2260 | | - | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
2261 | 2262 | | |
2262 | 2263 | | |
2263 | 2264 | | |
| |||
2303 | 2304 | | |
2304 | 2305 | | |
2305 | 2306 | | |
| 2307 | + | |
| 2308 | + | |
2306 | 2309 | | |
2307 | 2310 | | |
2308 | 2311 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
| 708 | + | |
708 | 709 | | |
| 710 | + | |
| 711 | + | |
709 | 712 | | |
710 | 713 | | |
711 | 714 | | |
| |||
715 | 718 | | |
716 | 719 | | |
717 | 720 | | |
718 | | - | |
| 721 | + | |
719 | 722 | | |
720 | 723 | | |
| 724 | + | |
721 | 725 | | |
722 | 726 | | |
723 | 727 | | |
724 | 728 | | |
725 | | - | |
| 729 | + | |
726 | 730 | | |
727 | 731 | | |
728 | 732 | | |
| |||
0 commit comments