Diff options
Diffstat (limited to '')
-rwxr-xr-xtests/t0107-diff.sh6
1 file changed, 3 insertions, 3 deletions
diff --git a/tests/t0107-diff.sh b/tests/t0107-diff.sh
index 6710cec..a3948df 100755
--- a/tests/t0107-diff.sh
+++ b/tests/t0107-diff.sh
@@ -26,9 +26,9 @@ test_expect_success 'find added line' '
# the commit and patch pages quote it, on either side of the diff.
test_expect_success 'a tree on either side is named as the request gave it' '
tree=$(git -C repos/foo rev-parse --short HEAD^{tree}) &&
- cgit_query "url=foo/diff/&id=$tree" >tmp &&
+ cgit_url "foo/diff/&id=$tree" >tmp &&
grep "<div class=.error.>Not a commit: $tree</div>" tmp &&
- cgit_query "url=foo/diff/&id2=$tree" >tmp &&
+ cgit_url "foo/diff/&id2=$tree" >tmp &&
grep "<div class=.error.>Not a commit: $tree</div>" tmp
'
@@ -58,7 +58,7 @@ test_expect_success 'ssdiff numbers a comma-less hunk from its real line' '
'
test_expect_success 'ssdiff still numbers a hunk that carries a length' '
- cgit_query "url=foo/diff&dt=1" >tmp &&
+ cgit_url "foo/diff&dt=1" >tmp &&
grep "#n1.>1</a>" tmp
'