in reply to Re^4: Inverting test conditions in Test::More ?
in thread Inverting test conditions in Test::More ?
I only mention is_deeply in this sentence:
You won't need is_deeply since you don't need to check all elements.
In what way is "You won't need is_deeply" specifically about is_deeply? The approach of testing for a specific known difference in your prepared data is a general approach that works for your cases, or at least you haven't shown a counterexample.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Inverting test conditions in Test::More ?
by LanX (Saint) on Jul 24, 2020 at 13:36 UTC | |
by hippo (Bishop) on Jul 24, 2020 at 14:09 UTC | |
by LanX (Saint) on Jul 24, 2020 at 14:30 UTC |
In Section
Seekers of Perl Wisdom