From: Thomas Rast Date: Sat, 24 Jul 2010 22:14:49 GMT Subject: Re: [WIP PATCH 12/22] Add tests for line history browser Message-ID: <201007250014.49568.trast@student.ethz.ch> In-Reply-To: <1279984434-28933-13-git-send-email-struggleyb.nku@gmail.com> Bo Yang wrote: > +test_expect_success \ > + 'validate the output.' \ > + 'test_cmp current-path0 expected-path0 && > + test_cmp current-path1 expected-path1 && > + test_cmp current-pathall expected-pathall && > + test_cmp current-linenum expected-linenum && > + test_cmp current-always expected-always' Please put the validation in the corresponding output-generating test, so that they can fail individually. -- Thomas Rast trast@{inf,student}.ethz.ch