From: Felipe Contreras Date: Sun, 18 Nov 2012 08:34:02 GMT Subject: Re: [PATCH 4/7] completion: add tests for invalid variable name among completion words Message-ID: 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 wrote: > @@ -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