Subject: Re: [PATCH] checkout: add a test for creating a new branch with regexp as a starting point

From: Thomas Rast <[email-masked]>
Date: Fri, 30 Jul 2010 01:36:13 +0200

Ævar Arnfjörð Bjarmason wrote:
> On Thu, Jul 29, 2010 at 22:01, Dmitry V. Levin <[email-masked]> wrote:
> > +test_expect_success checkout '
> > +       git checkout -b new_branch :/first
> > +'
> > +
> > +test_done
> 
> ...it looks like this can just be added to the end of
> t2018-checkout-branch.sh instead of creating a new test. Creating a
> new file just for a single test for such a simple feature is a bit of
> an overkill.

It should also use test_expect_failure unless you expect to have a fix
soon, otherwise it would stop the test suite from running through.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch