Diff options
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/t0113-tag.sh | 5 |
1 file changed, 3 insertions, 2 deletions
diff --git a/tests/t0113-tag.sh b/tests/t0113-tag.sh index 8aea27e..19b2283 100755 --- a/tests/t0113-tag.sh +++ b/tests/t0113-tag.sh @@ -34,8 +34,9 @@ test_expect_success 'the object row names the full commit id' ' ' test_expect_success 'the message follows with no blank line before the body' ' - tr -d "\n" <tmp >flat && - grep "<div class=.commit-subject.>Annotated tag</div><div class=.commit-msg.>Release notes overtwo lines.</div>" flat + cgit_ok_url "foo/tag/&h=v1.0" >tmp && + test_grep "<div class=.commit-subject.>Annotated tag</div><div class=.commit-msg.>Release notes over$" tmp && + test_grep "^two lines\.$" tmp ' test_expect_success 'a lightweight tag gets the shorter table' ' |
