<br><br><div class="gmail_quote">On Mon, Dec 29, 2008 at 12:00 PM,  <span dir="ltr">&lt;<a href="mailto:spug-list-request@pm.org">spug-list-request@pm.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
From: &quot;Michael R. Wolf&quot; &lt;<a href="mailto:MichaelRWolf@att.net">MichaelRWolf@att.net</a>&gt;<br>
Subject: SPUG: Test::More::ok() not inverting logic with local $TODO<br>
To: <a href="mailto:spug-list@pm.org">spug-list@pm.org</a><br>
Message-ID: &lt;<a href="mailto:EAEB9C42-0066-4D54-88E3-A15ADC56014E@att.net">EAEB9C42-0066-4D54-88E3-A15ADC56014E@att.net</a>&gt;<br>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes<br>
<br>
I was expecting that TODO blocks would fail on success. &nbsp;What am I<br>
missing?<br>
</blockquote><div><br>From <a href="http://search.cpan.org/~mschwern/Test-Simple-0.86/lib/Test/More.pm">http://search.cpan.org/~mschwern/Test-Simple-0.86/lib/Test/More.pm</a> <br>&nbsp;&nbsp; With a todo block, the tests inside are expected to fail. Test::More
will run the tests normally, <br>&nbsp;&nbsp; but print out special flags indicating
they are &quot;todo&quot;. Test::Harness will interpret failures as being ok.
<br>&nbsp;&nbsp; Should anything succeed, it will report it as an unexpected success.
You then know the thing <br>&nbsp;&nbsp; you had todo is done and can remove the TODO
flag. <br><br>So the behavior is expected. <br></div></div><br>