Subject: | Test::Pretty ignores bad plan errors |
Test::Pretty ignores bad plan errors - i.e. tests with bad plan pass
with Test::Pretty, whereas they fail when run under normal Test::More.
$ perl -e 'use Test::More tests=>5; ok(1)'; echo $?
1..5
ok 1
# Looks like you planned 5 tests but ran 1.
255
$ perl -MTest::Pretty -e 'use Test::More tests=>5; ok(1)'; echo $?
(...)
✓ L1:
0
Perl v5.10.1
OS: CentOS release 6.3 (Final) (2.6.32-279.11.1.el6.x86_64)