in reply to Re: RFC: How did I do writing my first test?
in thread RFC: How did I do writing my first test?
I changed the is_deeply to is, and all the tests after the one in BEGIN failed. The way I read it is this: is is for comparing strings, is_deeply is for everything else. Since I am comparing two arrays, then I believe I need is_deeply.
The reason I included use v5.10.0; is because it is the minimum version of Perl needed to use the module since it uses // (defined or). It makes sense to me to use the same version for the test.
My OS is Debian 10 (Buster); my perl versions are 5.28.1 local and 5.16.3 or 5.30.0 on web host depending on the shebang.
No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
Lady Aleena
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: RFC: How did I do writing my first test?
by AnomalousMonk (Archbishop) on Sep 24, 2020 at 16:33 UTC | |
by tobyink (Canon) on Sep 24, 2020 at 20:03 UTC |
In Section
Seekers of Perl Wisdom