Re: [PATCH 4/7] completion: add tests for invalid variable name among completion words
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Nov 18, 2012, 08:34 UTC
- Message-ID
- <CAMP44s1-YS_39KfFoRG_K-xvw+iu0_B097bv3kTv=3S2QWwaZA@mail.gmail.com>
- In-Reply-To
- <1353150353-29874-5-git-send-email-szeder@ira.uka.de>
On Sat, Nov 17, 2012 at 12:05 PM, SZEDER Gábor <szeder@ira.uka.de> wrote:
Show 9 quoted lines
> @@ -155,6 +156,12 @@ test_expect_success '__gitcomp - suffix' ' > test_cmp expected out > ' > > +test_expect_failure '__gitcomp - doesnt fail because of invalid variable name' ' > + ( > + __gitcomp "$invalid_variable_name" > + ) > +'
Why in a subshell?
-- Felipe Contreras