]> git.ozlabs.org Git - ccan/blobdiff - ccan_tools/libtap/tests/ok/ok-numeric/test.pl
Include all the tools under ccan_tools dir, hacked to work for me.
[ccan] / ccan_tools / libtap / tests / ok / ok-numeric / test.pl
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 (file)
index 0000000..ddc8c16
--- /dev/null
@@ -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");