Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Test::More is_deeply and binary data

by kschwab (Vicar)
on Nov 09, 2013 at 13:37 UTC ( [id://1061820]=note: print w/replies, xml ) Need Help??


in reply to Test::More is_deeply and binary data

Digging around in the source, it appears that setting the global $^C (aka $COMPILING) will suppress the diagnostic printing. So you could do this:

sub is_deeply_quiet { local $^C=1; is_deeply(@_); }

...and call it instead. I have no idea though, if that creates other undesirable side effects.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1061820]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-03-28 08:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found