Re: [PATCH 2/8] t3206: add color test for range-diff --dual-color
- From
Stefan Beller <sbeller@google.com>
- Date
- Aug 13, 2018, 18:30 UTC
- Message-ID
- <CAGZ79kbnSD5oiHLMy8b7o_SHFzquqttm1anak-4cnVzy10ns_w@mail.gmail.com>
- In-Reply-To
- <nycvar.QRO.7.76.6.1808131404370.71@tvgsbejvaqbjf.bet>
On Mon, Aug 13, 2018 at 5:05 AM Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 13 quoted lines
> > Hi Stefan, > > On Fri, 10 Aug 2018, Stefan Beller wrote: > > > +test_expect_success 'dual-coloring' ' > > + sed -e "s|^:||" >expect <<-\EOF && > > + :<YELLOW>1: a4b3333 = 1: f686024 s/5/A/<RESET> > > + :<RED>2: f51d370 <RESET><YELLOW>!<RESET><GREEN> 2: 4ab067d<RESET><YELLOW> s/4/A/<RESET> > > + : <REVERSE><CYAN>@@ -2,6 +2,8 @@<RESET> > > That's a neat trick to have an indented here-doc that contains > indentation. I should use this myself.
Thanks to Junio for applying this trick!