[tapx-dev] [commit][221] Fixed TODO / SKIP confusion due to #TODO or #SKIP passing through test output to harness .

Ovid publiustemp-tapx at yahoo.com
Fri Aug 10 15:23:58 BST 2007


--- andy at hexten.net wrote:

> Revision: 221
> Author:   andy
> Date:     2007-08-10 15:09:55 +0100 (Fri, 10 Aug 2007)
> 
> Log Message:
> -----------
> Fixed TODO / SKIP confusion due to #TODO or #SKIP passing through
> test output to harness.
> 
> Modified Paths:
> --------------
>     trunk/t/020-regression.t
> 
> Modified: trunk/t/020-regression.t
> ===================================================================
> --- trunk/t/020-regression.t	2007-08-10 13:26:46 UTC (rev 220)
> +++ trunk/t/020-regression.t	2007-08-10 14:09:55 UTC (rev 221)
> @@ -3060,6 +3060,7 @@
>            ? $result->description
>            : $result->raw;
>          $desc = $result->plan if $result->is_plan && $desc =~
> /SKIP/i;
> +        $desc =~ s/#/<hash>/g;
>          ok defined $expected, "$test $count We should have a result
> for $desc";
>          $count++;
>          while ( my ( $method, $answer ) = each %$expected ) {

I had made that fix locally while I was playing with this, but I didn't
commit it because I didn't really understand the underlying problem. 
Can you explain what was causing the failure?

Cheers,
Ovid

--
Buy the book  - http://www.oreilly.com/catalog/perlhks/
Perl and CGI  - http://users.easystreet.com/ovid/cgi_course/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog     - http://use.perl.org/~Ovid/journal/


More information about the tapx-dev mailing list