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.
|
|---|