From af0e4b85723fb26b67c655afc44bdb67ef7500de Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 7 Nov 2026 12:23:24 -1000 Subject: Test the blame tooltip with and without addresses --- tests/t0104-tree.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests') diff --git a/tests/t0104-tree.sh b/tests/t0104-tree.sh index 4cb1c06..dcdeea3 100755 --- a/tests/t0104-tree.sh +++ b/tests/t0104-tree.sh @@ -117,6 +117,19 @@ test_expect_success 'the folder crumbs of a blame page lead to the tree' ' test_grep "href=./nested/tree/a/b/file.txt.>file.txt" tmp ' +# Each hash carries a tooltip naming the author, the committer and the +# subject, with the addresses unless enable-plain-email turns them off. +test_expect_success 'a blame hash is titled with its commit' ' + cgit_ok nestedrc "url=nested/blame/a/b/file.txt" >tmp && + test_grep "tmp && + test_grep "