From b57a29fd9dc49364890046be8df07eb77fa04155 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Fri, 16 Oct 2026 22:17:13 -1000 Subject: Ship the example tracker links commented out An unedited copy sent every #123, Closes: and Bug: mark to bugs.example.com, a link that is wrong for every site. --- tests/t0506-link-trailers.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/t0506-link-trailers.sh') diff --git a/tests/t0506-link-trailers.sh b/tests/t0506-link-trailers.sh index 7ce9f53..39e22e7 100755 --- a/tests/t0506-link-trailers.sh +++ b/tests/t0506-link-trailers.sh @@ -1,10 +1,10 @@ #!/bin/sh # Checks link-trailers.lua, the shipped trailer-filter, whose configuration as -# shipped links Fixes and Reverts object names to ./?id=, Closes and Bug marks -# to bugs.example.com and a bare URL to itself. The unit checks cover the rules -# under every suitable standalone Lua, and a commit carrying one of each is -# then rendered through cgit itself. +# shipped links Fixes and Reverts object names to ./?id= and a bare URL to +# itself, and leaves Closes and Bug marks as text until a tracker is set up. +# The unit checks cover the rules under every suitable standalone Lua, and a +# commit carrying one of each is then rendered through cgit itself. test_description='Check the shipped link-trailers extension' CGIT_TEST_NO_CREATE_REPOS=YesPlease @@ -62,8 +62,8 @@ test_expect_success CGIT_LUA 'the bare URL links to itself' ' grep "https://example.com/?a=1&b=2" tmp ' -test_expect_success CGIT_LUA 'the Closes mark links out' ' - grep "bugs.example.com/?bug=45.>#45" tmp +test_expect_success CGIT_LUA 'the Closes mark stays text' ' + grep "Closes#45" tmp ' test_done -- cgit