X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan_tools%2Flibtap%2Ftests%2Fplan%2Fnot-enough-tests%2Ftest.pl;fp=ccan_tools%2Flibtap%2Ftests%2Fplan%2Fnot-enough-tests%2Ftest.pl;h=6237d041e486e254523d45fdc05450939ea5e030;hp=0000000000000000000000000000000000000000;hb=7bbd49fdb03503688dd34ab860e0e02e852ed267;hpb=fdfcdafbfa7957b6ca393bb4000fbaad3813a61a diff --git a/ccan_tools/libtap/tests/plan/not-enough-tests/test.pl b/ccan_tools/libtap/tests/plan/not-enough-tests/test.pl new file mode 100644 index 00000000..6237d041 --- /dev/null +++ b/ccan_tools/libtap/tests/plan/not-enough-tests/test.pl @@ -0,0 +1,19 @@ +#!/usr/bin/perl + +use warnings; +use strict; + +use Test::More; + +my $rc = 0; + +plan tests => 1; + +$rc = ok(1); +diag("Returned: $rc"); + +$rc = ok(1); +diag("Returned: $rc"); + +$rc = ok(1); +diag("Returned: $rc");