perl/lib/warnings.t
H.Merijn Brand 3d7c117d52 Patch unit tests to explicitly insert "." into @INC when needed.
require calls now require ./ to be prepended to the file since . is no
longer guaranteed to be in @INC.
2016-11-11 16:27:20 +01:00

8 lines
129 B
Perl

#!./perl
chdir 't' if -d 't';
@INC = ( '.', '../lib' );
our $UTF8 = (${^OPEN} || "") =~ /:utf8/;
require "../t/lib/common.pl";