about summary refs log tree commit
path: root/tests/t0105-commit.sh
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-01-01 09:25:01 +0000
committerEric Wong <e@80x24.org>2019-04-22 02:34:37 +0000
commit20a33d1b5e97093d923ea73b953a732f1ac9bae0 (patch)
tree8067c80d29d077c33e28341bbc1def0e97d61f36 /tests/t0105-commit.sh
parentd501a989f82462879e953a537d57d35bc3fff570 (diff)
downloadcgit-20a33d1b5e97093d923ea73b953a732f1ac9bae0.tar.gz
ui-{commit,tag}: use <pre> for commit-msg
This preserves formatting readable for users of text-based browsers
without CSS support.
Diffstat (limited to 'tests/t0105-commit.sh')
-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 9cdf55c..9e34abd 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' '