This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix spurious AutoSplit.t failure under windows
authorGurusamy Sarathy <gsar@cpan.org>
Fri, 26 Oct 2001 14:53:56 +0000 (14:53 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Fri, 26 Oct 2001 14:53:56 +0000 (14:53 +0000)
p4raw-id: //depot/perl@12693

lib/AutoSplit.t

index 1506e7f..e913f34 100644 (file)
@@ -269,7 +269,7 @@ is (&*MOD*::testtesttesttest4_2, "duplicate test 4");
 is (&Just::Another::test5, "another test 5");
 # very messy way to interpolate function into regexp, but it's going to be
 # needed to get : for Mac filespecs
-like (&*MOD*::test6, qr!^*INC**PATHSEP**MOD*.pm \(autosplit into @{[File::Spec->catfile('*DIR*','*MOD*', 'test6.al')]}\):\d+$!);
+like (&*MOD*::test6, qr!^\Q*INC**PATHSEP**MOD*\E\.pm \(autosplit into \Q@{[File::Spec->catfile('*DIR*','*MOD*', 'test6.al')]}\E\):\d+$!);
 ok (Yet::Another::AutoSplit->testtesttesttest4_1 eq "another test 4");
 ################################################################
 ## Name