Skip to content

Commit af511e6

Browse files
committed
Make the test more OS neutral
1 parent 98244c5 commit af511e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/02_simple.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ foreach my $k ( sort keys %$config ) {
4040
ok( -e $config->{$k}, "$config->{$k} exists" );
4141
}
4242

43-
like( $config->{libpth}, qr/^[^ ]*?\\c\\lib [^ ]*?\\c\\i686-w64-mingw32\\lib/, "$config->{libpth} check" );
43+
like( $config->{libpth}, qr|^[^ ]*?[/\\]c[/\\]lib [^ ]*?[/\\]c[/\\][\w-]+[/\\]lib|, "$config->{libpth} check" );
4444

4545
ok( -e $perl->cpan->{cpan_home}, 'cpan_home exists' );

0 commit comments

Comments
 (0)