From bfe758ff6cef5cd2f1d6049e6fe8dfa1351f308b Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 7 Nov 2026 11:42:26 -1000 Subject: Test clone urls made from clone-prefix --- tests/t0102-summary.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests') diff --git a/tests/t0102-summary.sh b/tests/t0102-summary.sh index 819e9ec..bdf3a36 100755 --- a/tests/t0102-summary.sh +++ b/tests/t0102-summary.sh @@ -60,6 +60,15 @@ test_expect_success 'the head links only the clone urls with a scheme' ' test_grep ! "tmp && + test_grep "clone-url.>https://a/foo" tmp && + test_grep "clone-url.>git://b/foo" tmp +' + # A repository can turn the global clone-url off with an empty one of its own. # Neither its summary nor the page an empty repository gets then draws a Clone # heading over no rows. -- cgit 2.12.1