| @@ -42,8 +42,8 @@ fn hex_to_objects<'a>(hex_ids: impl IntoIterator<Item = &'a str>, kind: Kind) -> · 41 unmodified lines |
| 42 | 42 | fn all_commits() -> &'static [ObjectId] { |
| 43 | 43 | static ALL_COMMITS: Lazy<Vec<ObjectId>> = Lazy::new(|| { |
| 44 | 44 | hex_to_ids([ |
| 45 | | − "5d18db2e2aabadf7b914435ef34f2faf8b4546dd", |
| 46 | | − "3a3dfaa55a515f3fb3a25751107bbb523af6a1b0", |
| 45 | + "ebed23648b19484cb1f340c4ee04dda08479188a", |
| 46 | + "8ff6d0f8891c3cb22827be142cc64606121d47b3", |
| 47 | 47 | "734c926856a328d1168ffd7088532e0d1ad19bbe", |
| 48 | 48 | ]) |
| 49 | 49 | }); |
| @@ -59,7 +59,13 @@ fn no_missing() { · 9 unmodified lines |
| 59 | 59 | #[test] |
| 60 | 60 | fn missing_blobs() { |
| 61 | 61 | // The "blobless" repo is cloned with `--filter=blob:none`, and is missing one blob |
| 62 | | − let expected = hex_to_objects(["c18147dc648481eeb65dc5e66628429a64843327"], Kind::Blob); |
| 62 | + let expected = hex_to_objects( |
| 63 | + [ |
| 64 | + "4cdeaab5b01f9a9fbbb2fb6c08404cf12b7bdab1", |
| 65 | + "c18147dc648481eeb65dc5e66628429a64843327", |
| 66 | + ], |
| 67 | + Kind::Blob, |
| 68 | + ); |
| 63 | 69 | assert_eq!(check_missing("blobless", all_commits()), expected); |
| 64 | 70 | } |
| 65 | 71 | |
| @@ -69,7 +75,7 @@ fn missing_trees() { · 3 unmodified lines |
| 69 | 75 | // NOTE: This repo is also missing a blob, but we have no way of knowing that, as the tree referencing it is missing |
| 70 | 76 | let expected = hex_to_objects( |
| 71 | 77 | [ |
| 72 | | − "9561cfbae43c5e2accdfcd423378588dd10d827f", |
| 78 | + "20317ffa7614f49b2702a057bf2833918ea9fd24", |
| 73 | 79 | "fc264b3b6875a46e9031483aeb9994a1b897ffd3", |
| 74 | 80 | ], |
| 75 | 81 | Kind::Tree, |