Fail if a test runs no expect

This commit is contained in:
madmaurice 2021-04-02 19:02:00 +02:00
parent 6e9ba12895
commit f8d6ab4f8c

View file

@ -36,6 +36,7 @@ my $ctx = {
print "TAP Version 13\n";
$parsed->($ctx);
die "No tests" unless $plan > 0;
print "1..$plan\n";
exit 0;