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

Andy Armstrong andy at hexten.net
Fri Aug 10 15:51:44 BST 2007


On 10 Aug 2007, at 15:23, Ovid wrote:
> 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?

I think I see what's happening. Test::Builder escapes any hashes in  
the diagnostic string passed to ok() - so  our \# becomes \\#. When  
we parse it again we see '\\' as an escaped backslash - which  
shouldn't hide the hash - so we interpret the diagnostic as a directive.

I'm not sure what the correct solution is. It's a problem that  
probably won't affect anyone apart from us. I'm going to leave the  
current (nasty) fix in there until we think of something better.

-- 
Andy Armstrong, hexten.net



More information about the tapx-dev mailing list