Fail if a test runs no expect
This commit is contained in:
parent
6e9ba12895
commit
f8d6ab4f8c
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ my $ctx = {
|
||||||
print "TAP Version 13\n";
|
print "TAP Version 13\n";
|
||||||
$parsed->($ctx);
|
$parsed->($ctx);
|
||||||
|
|
||||||
|
die "No tests" unless $plan > 0;
|
||||||
print "1..$plan\n";
|
print "1..$plan\n";
|
||||||
|
|
||||||
exit 0;
|
exit 0;
|
||||||
|
|
Loading…
Reference in a new issue