Commit 58631df
test: fix vacuous assertion and incomplete serialization test in upload safeoutputs (#857)
test_default_container_folder_has_hash_suffix. The assertion compared a
pure local function to itself (same arguments, same deterministic body) so
it could never fail regardless of what the function returned. Determinism
- upload_workitem_attachment: add missing comment-field assertion in
test_result_serializes_correctly. The test constructed params with
comment: Some("Test attachment") but never asserted the field appeared
in the serialized JSON, meaning a regression that dropped comment from
the serialized output would silently pass.
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 72cbc2d commit 58631df
2 files changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1065 | 1065 | | |
1066 | 1066 | | |
1067 | 1067 | | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
1074 | 1068 | | |
1075 | 1069 | | |
1076 | 1070 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
| 559 | + | |
559 | 560 | | |
560 | 561 | | |
561 | 562 | | |
| |||
0 commit comments