X-Git-Url: https://git.ozlabs.org/?p=ponghero.git;a=blobdiff_plain;f=ccan%2Fccan_tools%2Flibtap%2Ftests%2Fdiag%2Ftest.pl;fp=ccan%2Fccan_tools%2Flibtap%2Ftests%2Fdiag%2Ftest.pl;h=d5971cd6f44c69ca283715822730d13558a57a34;hp=0000000000000000000000000000000000000000;hb=3b07a088e47dffe99415cb01f42ea89c9185bdc5;hpb=4b884e9e3bff9f777f705d364627ce49ff4cedd6 diff --git a/ccan/ccan_tools/libtap/tests/diag/test.pl b/ccan/ccan_tools/libtap/tests/diag/test.pl new file mode 100644 index 0000000..d5971cd --- /dev/null +++ b/ccan/ccan_tools/libtap/tests/diag/test.pl @@ -0,0 +1,13 @@ +#!/usr/bin/perl + +use warnings; +use strict; + +use Test::More; + +plan tests => 2; + +diag("A diagnostic message"); + +ok(1, 'test 1') or diag "ok() failed, and shouldn't"; +ok(0, 'test 2') or diag "ok() passed, and shouldn't";