tests: check for proper html entity Since we're now properly writing ampersand literals as & instead of as a plain &, we need to update the test accordingly. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Jason A. Donenfeld Jason@zx2c4.com
Wed, 17 Oct 2012 17:17:48 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
tests/t0103-log.sh
→
tests/t0103-log.sh
@@ -17,7 +17,7 @@ cgit_url "with+space/log&qt=grep&q=commit+1" >trash/tmp
' run_test 'find commit 1' 'grep -e "commit 1" trash/tmp' run_test 'find link with %20 in path' 'grep -e "/with%20space/log/?qt=grep" trash/tmp' -run_test 'find link with + in arg' 'grep -e "/log/?qt=grep&q=commit+1" trash/tmp' +run_test 'find link with + in arg' 'grep -e "/log/?qt=grep&q=commit+1" trash/tmp' run_test 'no links with space in path' '! grep -e "href=./with space/" trash/tmp' run_test 'no links with space in arg' '! grep -e "q=commit 1" trash/tmp' run_test 'commit 2 is not visible' '! grep -e "commit 2" trash/tmp'