Re: [PATCH v3 3/3] diff-highlight: add support for --graph output.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 19, 2016, 18:27 UTC
- Message-ID
- <xmqq8tvs397z.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20160819170812.1676-4-henderson.bj@gmail.com>
Brian Henderson <henderson.bj@gmail.com> writes:
Show 13 quoted lines
> diff --git a/contrib/diff-highlight/t/t9400-diff-highlight.sh b/contrib/diff-highlight/t/t9400-diff-highlight.sh > index 3b3c831..b88174e 100755 > --- a/contrib/diff-highlight/t/t9400-diff-highlight.sh > +++ b/contrib/diff-highlight/t/t9400-diff-highlight.sh > @@ -185,7 +185,7 @@ test_expect_failure 'diff-highlight highlights mismatched hunk size' ' > > # TODO add multi-byte test > > -test_expect_failure 'diff-highlight works with the --graph option' ' > +test_expect_success 'diff-highlight works with the --graph option' ' > dh_test_setup_history \ > "aaa\nbbb\nccc\n" \ > "aaa\n0bb\nccc\n" \
Yup, the standard "describe what we want and document a bug to be fixed with _failure, and flip it to _success when you fix the bug" pattern makes it very easy to understand what is going on.