On Fri, Oct 07, 2016 at 05:07:20PM -0400, santiago@xxxxxxx wrote: > Verify-tag now provides --format specifiers to inspect and ensure the > contents of the tag are proper. We add two tests to ensure this > functionality works as expected: the return value should indicate if > verification passed, and the format specifiers must be respected. Sounds good. > +test_expect_success 'verifying tag with --format' ' > + cat >expect <<-\EOF && > + tagname : fourth-signed > + EOF > + git verify-tag --format="tagname : %(tag)" "fourth-signed" >actual && > + test_cmp expect actual > +' I suppose it's a matter of style, but for a single-line expectation I would just do: echo "tagname : fourth-signed" >expect && which is shorter and saves a process invocation. Ditto on the next patch (which IMHO could just be squashed into a single patch). -Peff