The write_manifest function in tests/support/mod.rs (line 109) currently panics on write errors using .expect().
Current code:
.expect("write manifest content");
Improvement needed:
- Refactor function to return a
Result type
- Propagate errors instead of panicking
- Enable clearer diagnostics when manifest writing fails
This change would provide better error handling and make test failures more debuggable.
Backlinks:
Requested by: @leynos
The
write_manifestfunction intests/support/mod.rs(line 109) currently panics on write errors using.expect().Current code:
Improvement needed:
ResulttypeThis change would provide better error handling and make test failures more debuggable.
Backlinks:
Requested by: @leynos