mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 16:38:42 +00:00
tests/t0105-commit.sh: expect commit decorations
When a commit is referenced by a branch or tag the commit subject- line will be suffixed with the proper decorations, hence the test for this line needs to be updated. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
236665d70d
commit
38fde35f9a
@ -9,7 +9,7 @@ run_test 'find tree link' 'grep -e "<a href=./foo/tree/.>" trash/tmp'
|
|||||||
run_test 'find parent link' 'grep -E "<a href=./foo/commit/\?id=.+>" trash/tmp'
|
run_test 'find parent link' 'grep -E "<a href=./foo/commit/\?id=.+>" trash/tmp'
|
||||||
|
|
||||||
run_test 'find commit subject' '
|
run_test 'find commit subject' '
|
||||||
grep -e "<div class=.commit-subject.>commit 5</div>" trash/tmp
|
grep -e "<div class=.commit-subject.>commit 5<" trash/tmp
|
||||||
'
|
'
|
||||||
|
|
||||||
run_test 'find commit msg' 'grep -e "<div class=.commit-msg.></div>" trash/tmp'
|
run_test 'find commit msg' 'grep -e "<div class=.commit-msg.></div>" trash/tmp'
|
||||||
|
Loading…
Reference in New Issue
Block a user