Diff options
Diffstat (limited to '')
-rwxr-xr-xtests/t0103-log.sh4
1 file changed, 2 insertions, 2 deletions
diff --git a/tests/t0103-log.sh b/tests/t0103-log.sh
index 98b4e0b..927c814 100755
--- a/tests/t0103-log.sh
+++ b/tests/t0103-log.sh
@@ -12,7 +12,7 @@ test_expect_success 'find commit 1' 'grep "commit 1" tmp'
test_expect_success 'find commit 5' 'grep "commit 5" tmp'
test_expect_success 'generate bar/log' 'cgit_url "bar/log" >tmp'
-test_expect_success 'find commit 1' 'grep "commit 1" tmp'
+test_expect_success 'find commit 1' 'grep ">commit 1<" tmp'
test_expect_success 'find commit 50' 'grep "commit 50" tmp'
# The switch button submits the select as h, so whatever head the request
@@ -38,7 +38,7 @@ test_expect_success 'a branch head keeps its plain option' '
test_expect_success 'generate "with%20space/log?qt=grep&q=commit+1"' '
cgit_url "with+space/log&qt=grep&q=commit+1" >tmp
'
-test_expect_success 'find commit 1' 'grep "commit 1" tmp'
+test_expect_success 'find commit 1' 'grep ">commit 1<" tmp'
test_expect_success 'find link with %20 in path' 'grep "/with%20space/log/?qt=grep" tmp'
test_expect_success 'find link with + in arg' 'grep "/log/?qt=grep&amp;q=commit+1" tmp'
test_expect_success 'no links with space in path' '! grep "href=./with space/" tmp'