The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

#!/usr/bin/perl
use Test::Builder::Tester tests => 1;
eval {
test_test("foo");
};
like($@,
"/Not testing\. You must declare output with a test function first\./",
"dies correctly on error");