Skip to content

Commit a5cd04c

Browse files
committed
Fix extend.t failure on VMS
The fileame that ultimately derives from __FILE__ is a full path with a version on it, so allow those while still requiring the important bits.
1 parent d96de58 commit a5cd04c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/XS-APItest/t/extend.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@ SKIP:
7575
unless hwm_checks_enabled();
7676

7777
ok(!eval { bad_EXTEND(); 1 }, "bad_EXTEND() should throw");
78-
like($@, qr/^panic: XSUB XS::APItest::bad_EXTEND \(APItest\.c\) failed to extend arg stack/,
78+
like($@, qr/(?i)^panic: XSUB XS::APItest::bad_EXTEND \(.*APItest\.c.*\) failed to extend arg stack/,
7979
"check panic message");
8080
}

0 commit comments

Comments
 (0)