projects
/
catagits/Catalyst-Devel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1198a7d
)
avoid FindBin in some tests
Graham Knop [Mon, 3 Aug 2020 10:44:48 +0000 (12:44 +0200)]
t/back_compat.t
patch
|
blob
|
blame
|
history
t/render_file_contents.t
patch
|
blob
|
blame
|
history
t/render_share_dir_file.t
patch
|
blob
|
blame
|
history
diff --git
a/t/back_compat.t
b/t/back_compat.t
index
0937bab
..
f1cd584
100644
(file)
--- 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
(file)
--- 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
(file)
--- 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;