We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb9ed60 commit 9c4ad7fCopy full SHA for 9c4ad7f
ext/XS-APItest/t/xsub_h.t
@@ -117,7 +117,7 @@ foreach $XS_VERSION (undef, @versions) {
117
is_deeply([XS_APIVERSION_valid("Pie")], [], "XS_APIVERSION_BOOTCHECK passes");
118
is(eval {XS_APIVERSION_invalid("Pie"); 1}, undef,
119
"XS_APIVERSION_BOOTCHECK croaks for an invalid version");
120
-like($@, qr/Perl API version v1.0.16 of Pie does not match v5\.\d+\.\d+/,
+like($@, qr/Perl API version v1.0.16 of Pie does not match v(?:5\.\d+\.\d+|\d+\.\d+) /,
121
"expected error");
122
123
my @xsreturn;
0 commit comments