From 044f75cb40a95a24086287219baef9ab668b136d Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 14:50:14 -0700 Subject: Correct the test comments that went stale --- tests/t0106-commit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/t0106-commit.sh') diff --git a/tests/t0106-commit.sh b/tests/t0106-commit.sh index 5564038..6c8361a 100755 --- a/tests/t0106-commit.sh +++ b/tests/t0106-commit.sh @@ -1,8 +1,7 @@ #!/bin/sh # The commit page. Most checks read the markup for the tree link, the parent -# link, the subject and the diffstat. The last few use a root commit, which -# has no parent and diffs against the empty tree. +# link, the subject and the diffstat. test_description='Check content on commit page' . ./setup.sh @@ -38,6 +37,7 @@ test_expect_success 'a commit that changes no files draws no diffstat table' ' ! grep "" tmp ' +# A root commit has no parent, so it diffs against the empty tree. test_expect_success 'get root commit' ' root=$(cd repos/foo && git rev-list --reverse HEAD | head -1) && cgit_url "foo/commit&id=$root" >tmp && -- cgit