Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Failed test of Net::SNTP::Client module

by thanos1983 (Parson)
on Jul 06, 2015 at 14:47 UTC ( [id://1133380]=note: print w/replies, xml ) Need Help??


in reply to Re: Failed test of Net::SNTP::Client module
in thread Failed test of Net::SNTP::Client module

Hello Corion,

Thank you for your time and effort reading and replying to my question. You are absolutely right, I should use is() instead of ok().

From documentation ( Test::More ):

So why use these? They produce better diagnostics on failure. ok() cannot know what you are testing for (beyond the name), but is() and isnt() know what the test was and why it failed.

Thanks for the tip.

Seeking for Perl wisdom...on the process of learning...not there...yet!

Log In?
Username:
Password:

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

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

    No recent polls found