about summary refs log tree commit diff stats
path: root/tests/t0105-commit.sh
diff options
context:
space:
mode:
authorJune McEnroe2021-01-20 13:33:12 -0500
committerJune McEnroe2022-02-13 11:56:23 -0500
commitf9c417f24527d38a61338f3757fd1edb53d7fc5c (patch)
treee4f63b079a0395ada75cbaf54b71d8695ed609ab /tests/t0105-commit.sh
parentUse <pre> and <span> to print diffs (diff)
downloadcgit-f9c417f24527d38a61338f3757fd1edb53d7fc5c.tar.gz
cgit-f9c417f24527d38a61338f3757fd1edb53d7fc5c.zip
Fix tests for diff spans
Diffstat (limited to 'tests/t0105-commit.sh')
-rwxr-xr-xtests/t0105-commit.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/t0105-commit.sh b/tests/t0105-commit.sh index 9e34abd..d5ff96c 100755 --- a/tests/t0105-commit.sh +++ b/tests/t0105-commit.sh
@@ -29,8 +29,8 @@ test_expect_success 'root commit contains diffstat' '
29' 29'
30 30
31test_expect_success 'root commit contains diff' ' 31test_expect_success 'root commit contains diff' '
32 grep ">diff --git a/file-1 b/file-1<" tmp && 32 grep ">diff --git a/file-1 b/file-1" tmp &&
33 grep "<div class=.add.>+1</div>" tmp 33 grep "<span class=.add.>+1</span>" tmp
34' 34'
35 35
36test_done 36test_done