Re: [PATCH 2/7] completion: fix args of run_completion() test helper
On Sat, Nov 17, 2012 at 12:05 PM, SZEDER Gábor wrote: > test_expect_success 'basic' ' > - run_completion "git \"\"" && > + run_completion git "" && I don't like this approach. I prefer run_completion "git " So that it's similar to how test_completion is called: run_completion "git f" test_completion "git f" -- Felipe Contreras -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 2/7] completion: fix args of run_completion() test helper
SZEDER Gábor wrote: > Fix this by passing the command line to run_completion() as separate > words. Good catch. The change makes sense, the code looks saner after the fix, and since this is test code any breakage should be caught quickly, so Reviewed-by: Jonathan Nieder Thanks. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html