From: Graham Knop Date: Mon, 3 Aug 2020 10:44:48 +0000 (+0200) Subject: avoid FindBin in some tests X-Git-Tag: v1.42~16 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Devel.git;a=commitdiff_plain;h=534f0e79409e1c68f26a1d38532ea779329b5617 avoid FindBin in some tests --- diff --git a/t/back_compat.t b/t/back_compat.t index 0937bab..f1cd584 100644 --- a/t/back_compat.t +++ b/t/back_compat.t @@ -1,8 +1,7 @@ use strict; use warnings; -use FindBin qw/$Bin/; use File::Temp qw/tempfile/; -use lib "$Bin/lib"; +use lib "t/lib"; use MyTestHelper; diff --git a/t/render_file_contents.t b/t/render_file_contents.t index 0dbcb0d..6f041ff 100644 --- a/t/render_file_contents.t +++ b/t/render_file_contents.t @@ -1,7 +1,6 @@ use strict; use warnings; -use FindBin qw/$Bin/; -use lib "$Bin/lib"; +use lib "t/lib"; use Catalyst::Helper; use Test::More; diff --git a/t/render_share_dir_file.t b/t/render_share_dir_file.t index 529c74f..94e9371 100644 --- a/t/render_share_dir_file.t +++ b/t/render_share_dir_file.t @@ -1,7 +1,6 @@ use strict; use warnings; -use FindBin qw/$Bin/; -use lib "$Bin/lib"; +use lib "t/lib"; use Catalyst::Helper; use Test::More;