about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-01-01 11:44:51 +0000
committerRory& <root@rory.gay>2025-03-12 06:30:32 +0100
commit3d88369d20fd39fa893f456b9aa9de31c3da38d7 (patch)
tree8fc9370eabe2c9d5f6844eb1b3f8473b767f7e25 /tests
parentImprove pageheader display on text-based browsers (diff)
downloadcgit-magenta-3d88369d20fd39fa893f456b9aa9de31c3da38d7.tar.xz
Use <pre> for commit-msg
This preserves formatting readable for users of text-based browsers
without CSS support.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/t0105-commit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t0105-commit.sh b/tests/t0105-commit.sh

index 1a12ee3..3bd4466 100755 --- a/tests/t0105-commit.sh +++ b/tests/t0105-commit.sh
@@ -11,7 +11,7 @@ test_expect_success 'find commit subject' ' grep "<div class=.commit-subject.>commit 5<" tmp ' -test_expect_success 'find commit msg' 'grep "<div class=.commit-msg.></div>" tmp' +test_expect_success 'find commit msg' 'grep "<pre class=.commit-msg.></pre>" tmp' test_expect_success 'find diffstat' 'grep "<table summary=.diffstat. class=.diffstat.>" tmp' test_expect_success 'find diff summary' '