Re: [PATCH] checkout: add a test for creating a new branch with regexp as a starting point
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Jul 29, 2010, 23:36 UTC
- Message-ID
- <201007300136.13501.trast@student.ethz.ch>
- In-Reply-To
- <AANLkTi=Qf1OUmjkpL-6e8gT8MU9G=m37sxrdAoyj5=R0@mail.gmail.com>
Ævar Arnfjörð Bjarmason wrote:
Show 11 quoted lines
> On Thu, Jul 29, 2010 at 22:01, Dmitry V. Levin <ldv@altlinux.org> 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