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