diff options
Diffstat (limited to 't/lib')
-rw-r--r-- | t/lib/Test/Simple/sample_tests/too_few.plx | 2 | ||||
-rw-r--r-- | t/lib/Test/Simple/sample_tests/too_few_fail.plx | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/t/lib/Test/Simple/sample_tests/too_few.plx b/t/lib/Test/Simple/sample_tests/too_few.plx index 95af8e903b..bbc630ddce 100644 --- a/t/lib/Test/Simple/sample_tests/too_few.plx +++ b/t/lib/Test/Simple/sample_tests/too_few.plx @@ -8,4 +8,4 @@ Test::Simple->import(tests => 5); ok(1); -ok(0); +ok(1); diff --git a/t/lib/Test/Simple/sample_tests/too_few_fail.plx b/t/lib/Test/Simple/sample_tests/too_few_fail.plx new file mode 100644 index 0000000000..5910e132a2 --- /dev/null +++ b/t/lib/Test/Simple/sample_tests/too_few_fail.plx @@ -0,0 +1,12 @@ +require Test::Simple; + +push @INC, 't/lib'; +require Test::Simple::Catch; +my($out, $err) = Test::Simple::Catch::caught(); + +Test::Simple->import(tests => 5); + + +ok(0); +ok(1); +ok(0);
\ No newline at end of file |