From 4367eeebebc343baf478aa339a9220b1fff01b04 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 7 Nov 2026 12:49:23 -1000 Subject: Test a note on the commit page --- tests/t0106-commit.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests') diff --git a/tests/t0106-commit.sh b/tests/t0106-commit.sh index 6d08645..58e0de8 100755 --- a/tests/t0106-commit.sh +++ b/tests/t0106-commit.sh @@ -110,4 +110,12 @@ test_expect_success 'an octopus merge draws no diff and offers no diff options' test_grep "" tmp ' +test_expect_success 'a note is shown below the message' ' + git -C repos/foo notes add -m "a note on five" master && + test_when_finished "git -C repos/foo notes remove master" && + cgit_ok_url "foo/commit" >tmp && + test_grep "
Notes
" tmp && + test_grep "
a note on five$" tmp +' + test_done -- cgit 2.12.1