Re: use diff for string in some test

2007-01-07 Thread Lee Duhem
On Sun, Jan 07, 2007 at 12:51:46PM +, Nicholas Clark wrote: > > I'm not convinced that allowing slop in expected output is a good idea. Sometime allow some slop is convenient, like the situation in t/examples/past.t > It introduces (more) complexity into the tests, which increases the chance

Re: use diff for string in some test

2007-01-07 Thread Bernhard Schmalhofer
Nicholas Clark schrieb: On Sun, Jan 07, 2007 at 03:34:41PM +0800, Lee Duhem wrote: I think we need some diff-like facility for string in Test::More (or somewhere else appropriate), these options of diff for files will be wanted: -E --ignore-tab-expansion Ignore changes due to tab expansio

Re: use diff for string in some test

2007-01-07 Thread Nicholas Clark
On Sun, Jan 07, 2007 at 03:34:41PM +0800, Lee Duhem wrote: > I think we need some diff-like facility for string in Test::More > (or somewhere else appropriate), these options of diff for files > will be wanted: > > -E --ignore-tab-expansion Ignore changes due to tab expansion. > -b --ignore-s

use diff for string in some test

2007-01-07 Thread Lee Duhem
I think we need some diff-like facility for string in Test::More (or somewhere else appropriate), these options of diff for files will be wanted: -E --ignore-tab-expansion Ignore changes due to tab expansion. -b --ignore-space-change Ignore changes in the amount of white space. -w --ignore