From: Junio C Hamano Date: Fri, 19 Aug 2016 18:27:28 GMT Subject: Re: [PATCH v3 3/3] diff-highlight: add support for --graph output. Message-ID: In-Reply-To: <20160819170812.1676-4-henderson.bj@gmail.com> Brian Henderson writes: > 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.