Skip to content

Commit 029525d

Browse files
committed
Don't FAIL if Test::CVE is not available
1 parent b9cc7cc commit 029525d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xt/70_cve.t

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ use strict;
44
use warnings;
55

66
use Test::More;
7-
use Test::CVE;
8-
9-
has_no_cves;
7+
eval "use Test::CVE";
8+
plan skip_all => "Test::CVE required for this test" if $@;
109

10+
has_no_cves ();
1111
done_testing;

0 commit comments

Comments
 (0)