Fix html error detected by test-suite
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
@ -9,7 +9,13 @@ run_test 'find file-1' 'grep -e "file-1" trash/tmp'
|
||||
run_test 'find file-50' 'grep -e "file-50" trash/tmp'
|
||||
|
||||
run_test 'generate bar/tree/file-50' 'cgit_url "bar/tree/file-50" >trash/tmp'
|
||||
run_test 'find line 1' 'grep -e "<a name=.1.>1</a>" trash/tmp'
|
||||
run_test 'no line 2' 'grep -ve "<a name=.2.>2</a>" trash/tmp'
|
||||
|
||||
run_test 'find line 1' '
|
||||
grep -e "<a id=.n1. name=.n1. href=.#n1.>1</a>" trash/tmp
|
||||
'
|
||||
|
||||
run_test 'no line 2' '
|
||||
grep -e "<a id=.n2. name=.n2. href=.#n2.>2</a>" trash/tmp
|
||||
'
|
||||
|
||||
tests_done
|
||||
|
@ -13,7 +13,7 @@ run_test 'find commit subject' '
|
||||
'
|
||||
|
||||
run_test 'find commit msg' 'grep -e "<div class=.commit-msg.></div>" trash/tmp'
|
||||
run_test 'find diffstat' 'grep -e "<table class=.diffstat.>" trash/tmp'
|
||||
run_test 'find diffstat' 'grep -e "<table summary=.diffstat. class=.diffstat.>" trash/tmp'
|
||||
|
||||
run_test 'find diff summary' '
|
||||
grep -e "1 files changed, 1 insertions, 0 deletions" trash/tmp
|
||||
|
Reference in New Issue
Block a user