in reply to Test::More is_deeply() If..Then?
$ perl -MTest::More -e " warn is(1,2); warn is(2,2); warn is_deeply(1, +2); warn is_deeply(2,2); " not ok 1 # Failed test at -e line 1. # got: '1' # expected: '2' 0 at -e line 1. ok 2 1 at -e line 1. not ok 3 # Failed test at -e line 1. # got: '1' # expected: '2' 0 at -e line 1. ok 4 1 at -e line 1. # Tests were run but no plan was declared and done_testing() was not s +een.
Is that good enough?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Test::More is_deeply() If..Then?
by ler224 (Acolyte) on May 29, 2014 at 03:25 UTC |