Commit 602dcba
committed
Change test case to match error via types, not strings
Minor followup to the previous change; part of the idea of having
the error types here is so we can *also* dig through the `SkopeoSpawnError`
and precisely match against the `std::io::ErrorKind::NotFound`,
and not rely on its stringified form. This is what we'd expect
other callers to do.
This also avoids a double-match.
Signed-off-by: Colin Walters <walters@verbum.org>1 parent bb0ba4d commit 602dcba
1 file changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
701 | 701 | | |
702 | 702 | | |
703 | 703 | | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
710 | 715 | | |
711 | 716 | | |
0 commit comments