summaryrefslogtreecommitdiffstats
path: root/tests/pipeline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pipeline.rs')
-rw-r--r--tests/pipeline.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/pipeline.rs b/tests/pipeline.rs
index 12d95b0..d3816d6 100644
--- a/tests/pipeline.rs
+++ b/tests/pipeline.rs
@@ -166,7 +166,7 @@ fn i1_no_index_entry_without_an_approval() {
)?)
})
.unwrap();
- assert_eq!(orphans, 0, "I1: index entry with no approval behind it");
+ assert_eq!(orphans, 0, "index entry with no approval behind it");
}
#[test]
@@ -291,7 +291,7 @@ fn i5_a_restarted_build_resumes_at_the_next_incomplete_step() {
assert_eq!(
aur_build::shims::called_with(&env.cfg.hooks.shim_dir.clone().unwrap(), "makepkg", ""),
builds_after_crash,
- "I5: resuming must not rebuild"
+ "resuming must not rebuild"
);
assert_eq!(in_index(&env), vec![("plain-make".into(), "1.0.1-1".into())]);
assert_eq!(
@@ -373,7 +373,7 @@ fn re_enqueueing_the_same_intent_is_a_noop() {
let c = approve_fixture(&env, "plain-make");
let a = pipeline::enqueue_for_candidate(&env.cfg, &env.db, &c).unwrap();
let b = pipeline::enqueue_for_candidate(&env.cfg, &env.db, &c).unwrap();
- assert_eq!(a, b, "build ids are deterministic (ยง8.2)");
+ assert_eq!(a, b, "build ids are deterministic");
assert_eq!(env.query_i64("SELECT count(*) FROM build", &[]), Some(1));
}
@@ -454,7 +454,7 @@ fn publish_refuses_without_an_approval_behind_it() {
assert_eq!(step, "publish");
assert!(error.contains("no approval"), "{error}");
}
- other => panic!("I1 requires a refusal, got {other:?}"),
+ other => panic!("a fail-closed refusal was required, got {other:?}"),
}
assert_eq!(in_index(&env).len(), 1);
}