]> git.ozlabs.org Git - ccan/blobdiff - ccan_tools/libtap/tests/ok/ok-hash/test.pl
Include all the tools under ccan_tools dir, hacked to work for me.
[ccan] / ccan_tools / libtap / tests / ok / ok-hash / test.pl
diff --git a/ccan_tools/libtap/tests/ok/ok-hash/test.pl b/ccan_tools/libtap/tests/ok/ok-hash/test.pl
new file mode 100644 (file)
index 0000000..ae04570
--- /dev/null
@@ -0,0 +1,22 @@
+#!/usr/bin/perl
+
+use warnings;
+use strict;
+
+use Test::More;
+
+my $rc = 0;
+
+plan tests => 4;
+
+$rc = ok(1, 'Test with no hash');
+diag("Returned: $rc");
+
+$rc = ok(1, 'Test with one # hash');
+diag("Returned: $rc");
+
+$rc = ok(1, 'Test with # two # hashes');
+diag("Returned: $rc");
+
+$rc = ok(1, 'Test with ## back to back hashes');
+diag("Returned: $rc");