Commit 1821900
π§ͺ Add missing error path test for extract_manifest
π― **What:** Adds a missing test coverage for `extract_manifest` error path when required file paths do not exist.
π **Coverage:** Tests that missing upstream tools, commands or entrypoint file results in a clear `std::io::ErrorKind::NotFound` Error being surfaced without panics.
β¨ **Result:** Improved robustness by asserting on standard Rust IO error variants when file sources cannot be read, enabling safer compatibility manifest loading logic across temporary directories and dynamic contexts.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent efd7cfd commit 1821900
4 files changed
Lines changed: 34 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
357 | 366 | | |
0 commit comments