Re: [PATCH] tests: add tests for the bash prompt functions in the completion script
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Apr 15, 2012, 20:56 UTC
- Message-ID
- <CAMP44s3LJO_Ryc-ONjF+rEHCb1hB8+4Muar6pzjD3zrazYqK+A@mail.gmail.com>
- In-Reply-To
- <1334521909-32581-1-git-send-email-szeder@ira.uka.de>
On Sun, Apr 15, 2012 at 11:31 PM, SZEDER Gábor <szeder@ira.uka.de> wrote:
Show 13 quoted lines
> The tests cover the discovery of the .git directory in the __gitdir() > function in different scenarios, and the prompt itself, i.e. branch > name, detached heads, operations (rebase, merge, cherry-pick, bisect), > and status indicators (dirty, stash, untracked files; but not the > upstream status). > > Signed-off-by: SZEDER Gábor <szeder@ira.uka.de> > --- > > Goes on top of fc/completion-tests (b8574ba7). > > t/t9902-completion.sh | 436 +++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 436 insertions(+)
Perhaps it would make sense to create another file for these, specially since there's the plan of splitting the prompt stuff to a separate file.
Cheers.
-- Felipe Contreras