Skip Menu |

This queue is for tickets about the Test-Warn CPAN distribution.

Report information
The Basics
Id: 15650
Status: resolved
Priority: 0/
Queue: Test-Warn

People
Owner: Nobody in particular
Requestors: david [...] landgren.net
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.08
Fixed in: (no value)



Subject: Minor POD error
There a paragraph in the documentation If you want to test for a warning given by carp, You have to write something like: C<warning_is {carp "msg"} {carped => 'msg'}, "Test for a carped warning">. The test will fail, if a "normal" warning is found instead of a "carped" one. which should be written as If you want to test for a warning given by carp, You have to write something like: C<< warning_is {carp "msg"} {carped => 'msg'}, "Test for a carped warning" >>. The test will fail, if a "normal" warning is found instead of a "carped" one. in order for the => arrow to appear in the output.
From: CHORNY [...] cpan.org
On Nov 09 09:37:49 2005, DLAND wrote: Show quoted text
> There a paragraph in the documentation > > If you want to test for a warning given by carp, > You have to write something like: > C<warning_is {carp "msg"} {carped => 'msg'}, "Test for a carped > warning">. > The test will fail, > if a "normal" warning is found instead of a "carped" one. > > which should be written as > > If you want to test for a warning given by carp, > You have to write something like: > C<< warning_is {carp "msg"} {carped => 'msg'}, "Test for a carped > warning" >>.
Correct way is to replace => with =E<gt>. Fixed in 0.09. -- Alexandr Ciornii, http://chorny.net