Re: [PATCH 3/7] completion: add tests for the __gitcomp_nl() completion helper function

2012-11-18 Thread Felipe Contreras
On Sat, Nov 17, 2012 at 12:05 PM, SZEDER Gábor wrote: > Test __gitcomp_nl()'s basic functionality, i.e. that trailing space, > prefix, and suffix are added correctly. > > Signed-off-by: SZEDER Gábor > --- > t/t9902-completion.sh | 84 > +++ > 1 fi

Re: [PATCH 3/7] completion: add tests for the __gitcomp_nl() completion helper function

2012-11-17 Thread Jonathan Nieder
SZEDER Gábor wrote: > --- a/t/t9902-completion.sh > +++ b/t/t9902-completion.sh > @@ -155,6 +155,90 @@ test_expect_success '__gitcomp - suffix' ' > test_cmp expected out > ' > > +test_expect_success '__gitcomp_nl - trailing space' ' > + sed -e "s/Z$//" >expected <<-\EOF && '$' is usu

[PATCH 3/7] completion: add tests for the __gitcomp_nl() completion helper function

2012-11-17 Thread SZEDER Gábor
Test __gitcomp_nl()'s basic functionality, i.e. that trailing space, prefix, and suffix are added correctly. Signed-off-by: SZEDER Gábor --- t/t9902-completion.sh | 84 +++ 1 file changed, 84 insertions(+) diff --git a/t/t9902-completion.sh b/t/t9