Skip to content

Commit 0c51bec

Browse files
committed
Croak message text changed
1 parent 3a7f692 commit 0c51bec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/05-verify-not-a-cert.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ eval {
1010
my $not_cert = 'foo!';
1111
$ret = $v->verify($not_cert);
1212
};
13-
ok($@ =~ /x509 is not of type Crypt::OpenSSL::X509/);
13+
ok($@ =~ /Crypt::OpenSSL::X509/);
1414
ok(!$ret);
1515

1616
$v = Crypt::OpenSSL::Verify->new(
@@ -28,7 +28,7 @@ eval {
2828
my $not_cert = 'foo!';
2929
$ret = $v->verify($not_cert);
3030
};
31-
ok($@ =~ /x509 is not of type Crypt::OpenSSL::X509/);
31+
ok($@ =~ /Crypt::OpenSSL::X509/);
3232
ok(!$ret);
3333

3434
done_testing;

0 commit comments

Comments
 (0)