diff options
author | Eric Wong | 2019-01-01 11:44:51 +0000 |
---|---|---|
committer | June McEnroe | 2022-02-13 11:53:56 -0500 |
commit | 2843093cb4f1ef9bc62f2ed2451a503c386c388a (patch) | |
tree | 5fa6487f20dd44ad0b4e9aa5df9df784b50a657a /tests | |
parent | Improve pageheader display on text-based browsers (diff) | |
download | cgit-2843093cb4f1ef9bc62f2ed2451a503c386c388a.tar.gz cgit-2843093cb4f1ef9bc62f2ed2451a503c386c388a.zip |
Use <pre> for commit-msg
This preserves formatting readable for users of text-based browsers without CSS support.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/t0105-commit.sh | 2 |
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' ' | |||
11 | grep "<div class=.commit-subject.>commit 5<" tmp | 11 | grep "<div class=.commit-subject.>commit 5<" tmp |
12 | ' | 12 | ' |
13 | 13 | ||
14 | test_expect_success 'find commit msg' 'grep "<div class=.commit-msg.></div>" tmp' | 14 | test_expect_success 'find commit msg' 'grep "<pre class=.commit-msg.></pre>" tmp' |
15 | test_expect_success 'find diffstat' 'grep "<table summary=.diffstat. class=.diffstat.>" tmp' | 15 | test_expect_success 'find diffstat' 'grep "<table summary=.diffstat. class=.diffstat.>" tmp' |
16 | 16 | ||
17 | test_expect_success 'find diff summary' ' | 17 | test_expect_success 'find diff summary' ' |