small updates

This commit is contained in:
Jed Reynolds
2019-11-25 23:24:17 -08:00
parent 392c6ca6c0
commit 182b1787ae

View File

@@ -52,11 +52,13 @@ sub new {
}
sub run {
plan(1);
my $self = shift;
print "Run $self->{Name}\n";
my $result = shift;
ok($result, $self->{'Name'}) || fail($self->{'Name'});
done_testing();
}
sub test {
@@ -71,7 +73,7 @@ sub test_err {
my $self = shift;
for my $e (@_) {
my $ref = "".(caller(1))[3].":".(caller(1))[2]."";
push (@test_errors, "$ref: $e");
push (@::test_errors, "$ref: $e");
}
}
1;