summaryrefslogtreecommitdiffstats
path: root/tests/pipeline.rs
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-19 18:13:13 +0000
committeraur-build <aur-build@localhost>2026-11-19 18:13:13 +0000
commit893763060ec01d356ade9f6c011519a7f47a92e9 (patch)
treec59e72a49318f20b7124d6c302be0e4a0ac31c73 /tests/pipeline.rs
parent7841c4afe8759c39cf4556953122aea5a6de71b4 (diff)
downloadaur-build-893763060ec01d356ade9f6c011519a7f47a92e9.tar.gz
aur-build-893763060ec01d356ade9f6c011519a7f47a92e9.zip
docs: drop the citations the deleted docs left behind
The §n, I-n, M-n and m-n references survived in string literals the comment strip never touched: migration SQL comments, assertion messages, runtime error text, Cargo.toml, a CSS and template note, and one corpus manifest. They named sections of files that no longer exist, so the prose stays and the citation goes.
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);
}