Commit 74aa011
test: correct mislabelled vacuous test in src/compile/types.rs (#1518)
Rename test_front_matter_safe_outputs_triggers_conclusion_job →
test_front_matter_safe_outputs_noop_object_form and replace the
near-vacuous assert!(!fm.safe_outputs.is_empty()) assertion with a
meaningful check that noop: {} parses as a JSON object (not a bool
or null). The old assertion trivialy passed for any non-empty
safe-outputs block and said nothing about conclusion-job triggering,
which happens in the compiler, not the front-matter parser.
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 2657ad9 commit 74aa011
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4360 | 4360 | | |
4361 | 4361 | | |
4362 | 4362 | | |
4363 | | - | |
4364 | | - | |
| 4363 | + | |
| 4364 | + | |
| 4365 | + | |
4365 | 4366 | | |
4366 | 4367 | | |
4367 | 4368 | | |
| |||
4372 | 4373 | | |
4373 | 4374 | | |
4374 | 4375 | | |
4375 | | - | |
| 4376 | + | |
| 4377 | + | |
| 4378 | + | |
| 4379 | + | |
| 4380 | + | |
| 4381 | + | |
4376 | 4382 | | |
4377 | 4383 | | |
0 commit comments