Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Drop test lines that repeat what came before
The download row was already matched on the same tag page, no fold can
sit between the message and the signature the check requires, and the
submodule row is the one the test before extracted.
Diffstat (limited to 'tests/t0113-tag.sh')
| -rwxr-xr-x | tests/t0113-tag.sh | 7 |
1 file changed, 2 insertions, 5 deletions
diff --git a/tests/t0113-tag.sh b/tests/t0113-tag.sh index 2043385..8aea27e 100755 --- a/tests/t0113-tag.sh +++ b/tests/t0113-tag.sh @@ -54,9 +54,7 @@ test_expect_success 'a tag of anything but a commit offers no download' ' ! grep ">download<" tmp && cgit_url "foo/tag/&h=blob-tag" >tmp && grep "tagged object" tmp && - ! grep ">download<" tmp && - cgit_url "foo/tag/&h=v1.0" >tmp && - grep ">download<" tmp + ! grep ">download<" tmp ' # git reads the signature off the end of a tag's message, so a block shaped @@ -82,8 +80,7 @@ test_expect_success 'a signed tag shows its signature in the message' ' ) && cgit_url "foo/tag/&h=signed" >tmp && tr -d "\n" <tmp >flat && - grep "<div class=.commit-msg.>Notes.-----BEGIN PGP SIGNATURE-----iQEzBAABCAAdFiEE-----END PGP SIGNATURE-----</div>" flat && - ! grep "<details" tmp + grep "<div class=.commit-msg.>Notes.-----BEGIN PGP SIGNATURE-----iQEzBAABCAAdFiEE-----END PGP SIGNATURE-----</div>" flat ' test_expect_success 'a tag page names the tag in its title' ' |
