diff options
Diffstat (limited to 'grasp-audit/src/fixtures.rs')
| -rw-r--r-- | grasp-audit/src/fixtures.rs | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/grasp-audit/src/fixtures.rs b/grasp-audit/src/fixtures.rs index 4678790..d09c36b 100644 --- a/grasp-audit/src/fixtures.rs +++ b/grasp-audit/src/fixtures.rs | |||
| @@ -967,7 +967,9 @@ impl<'a> TestContext<'a> { | |||
| 967 | FixtureKind::PREvent2Served => self.build_pr_event_2_served().await, | 967 | FixtureKind::PREvent2Served => self.build_pr_event_2_served().await, |
| 968 | 968 | ||
| 969 | FixtureKind::PurgatoryValidRepoSent => self.build_purgatory_valid_repo_sent().await, | 969 | FixtureKind::PurgatoryValidRepoSent => self.build_purgatory_valid_repo_sent().await, |
| 970 | FixtureKind::PurgatoryOwnerStateDataPushed => self.build_purgatory_owner_state_data_pushed().await, | 970 | FixtureKind::PurgatoryOwnerStateDataPushed => { |
| 971 | self.build_purgatory_owner_state_data_pushed().await | ||
| 972 | } | ||
| 971 | 973 | ||
| 972 | FixtureKind::OwnerStateDataPushed => self.build_owner_state_data_pushed().await, | 974 | FixtureKind::OwnerStateDataPushed => self.build_owner_state_data_pushed().await, |
| 973 | 975 | ||
| @@ -1147,7 +1149,10 @@ impl<'a> TestContext<'a> { | |||
| 1147 | Ok(h) => h, | 1149 | Ok(h) => h, |
| 1148 | Err(e) => { | 1150 | Err(e) => { |
| 1149 | cleanup(&clone_path); | 1151 | cleanup(&clone_path); |
| 1150 | return Err(anyhow::anyhow!("Failed to create deterministic commit: {}", e)); | 1152 | return Err(anyhow::anyhow!( |
| 1153 | "Failed to create deterministic commit: {}", | ||
| 1154 | e | ||
| 1155 | )); | ||
| 1151 | } | 1156 | } |
| 1152 | }; | 1157 | }; |
| 1153 | 1158 | ||
| @@ -1186,7 +1191,12 @@ impl<'a> TestContext<'a> { | |||
| 1186 | DETERMINISTIC_COMMIT_HASH | 1191 | DETERMINISTIC_COMMIT_HASH |
| 1187 | )); | 1192 | )); |
| 1188 | } | 1193 | } |
| 1189 | Err(e) => return Err(anyhow::anyhow!("PurgatoryOwnerStateDataPushed push error: {}", e)), | 1194 | Err(e) => { |
| 1195 | return Err(anyhow::anyhow!( | ||
| 1196 | "PurgatoryOwnerStateDataPushed push error: {}", | ||
| 1197 | e | ||
| 1198 | )) | ||
| 1199 | } | ||
| 1190 | } | 1200 | } |
| 1191 | 1201 | ||
| 1192 | // ============================================================ | 1202 | // ============================================================ |