From 4304b0f336ddba7b4ec6780795059ff2066d105b Mon Sep 17 00:00:00 2001 From: aur-build Date: Thu, 19 Nov 2026 17:33:17 +0000 Subject: comments: keep only what the code cannot show MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Stripped every comment that described what an item does, documented its arguments or fields, or cited the design docs (§n, I-n, m-n, decision n). 2247 comments down to 83. What survives: the section dividers that segment the large modules, the secret-handling warnings, the agent wire-frame directions, and the few notes without which the code they attach to reads as redundant, reorderable, or unsound. --- tests/http.rs | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'tests/http.rs') diff --git a/tests/http.rs b/tests/http.rs index 068f999..9bb199e 100644 --- a/tests/http.rs +++ b/tests/http.rs @@ -29,7 +29,6 @@ fn every_surface_renders() { #[test] fn the_review_detail_shows_the_panels_and_the_hashes() { let web = Web::new("plain-make"); - // Publish a first version so the review has something to diff against. let first = web.open_review("plain-make"); let page = web.get(&format!("/reviews/{}", first.id)); let dd = extract(&page.body, "name=\"diff_digest\" value=\"", "\"").unwrap(); @@ -43,17 +42,14 @@ fn the_review_detail_shows_the_panels_and_the_hashes() { let c = web.open_review("plain-make"); let page = web.get(&format!("/reviews/{}", c.id)); assert_eq!(page.status, 200); - // The panel set (§6), all comparing accepted → candidate. for want in ["Recipe diff", "Version delta", "Source digest delta", "Dependency delta", "Build-env delta"] { assert!(page.body.contains(want), "missing panel {want}"); } assert!(page.body.contains("previous accepted release"), "no base shown"); - // The approve form carries both hashes (§7.1a) and works with JavaScript off. assert!(page.body.contains("name=\"identity_hash\"")); assert!(page.body.contains("name=\"diff_digest\"")); assert!(page.body.contains("