Re: [PATCH 02/10] test suite: Use 'say' to say something instead of 'test_expect_success'
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Mar 19, 2009, 07:48 UTC
- Message-ID
- <49C1F8D6.1060309@viscovery.net>
- In-Reply-To
- <alpine.DEB.1.00.0903182306020.10279@pacific.mpi-cbg.de>
Johannes Schindelin schrieb:
Show 15 quoted lines
> Hi, > > On Wed, 18 Mar 2009, Johannes Sixt wrote: > >> Some tests report that some tests will be skipped. They used >> 'test_exect_success' with a trivially successful test. Nowadays we have > > s/exect/expect/. > >> the helper function 'say' for this purpose. >> >> Signed-off-by: Johannes Sixt <j6t@kdbg.org> > > I see that you exchanged one "say_color" by "say". What is the > difference?
The color. It's a change towards consistency. I figured that the command to use by the tests is "say", while "say_color" is an implementation detail of test-lib.sh.
-- Hannes