From 0a024e883d6c5a9e771d011dd751cabe3da85475 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 14:50:33 -0700 Subject: Cut test comments that restate the code beside them --- tests/t0108-rawdiff.sh | 3 --- tests/t0110-snapshot.sh | 4 +--- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/t0108-rawdiff.sh b/tests/t0108-rawdiff.sh index f68628a..3d910d3 100755 --- a/tests/t0108-rawdiff.sh +++ b/tests/t0108-rawdiff.sh @@ -11,9 +11,6 @@ test_expect_success 'generate foo/rawdiff' ' cgit_query "url=foo/rawdiff" >tmp ' -# cgit writes its CGI headers and the blank line that ends them ahead of the -# body while git writes only the diff, so the head of the page comes off -# before the two are compared. test_expect_success 'compare with output of git-diff(1)' ' git --git-dir="$PWD/repos/foo/.git" diff HEAD^.. >tmp2 && strip_headers tmp_ && diff --git a/tests/t0110-snapshot.sh b/tests/t0110-snapshot.sh index dbcfb2c..969368d 100755 --- a/tests/t0110-snapshot.sh +++ b/tests/t0110-snapshot.sh @@ -10,9 +10,7 @@ test_description='Verify snapshot' . ./setup.sh -# Registers the checks for one compressed tar format. Takes the archive suffix, -# the content type the response must carry, the compressor to unpack with and -# the name of the prerequisite guarding the checks. +# Registers the checks for one compressed tar format. test_tar_snapshot() { ext=$1 type=$2 -- cgit