projects
/
webpac2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use utf-8 encoding
[webpac2]
/
t
/
0-common.t
diff --git
a/t/0-common.t
b/t/0-common.t
index
fbefc51
..
99e484b
100755
(executable)
--- a/
t/0-common.t
+++ b/
t/0-common.t
@@
-1,22
+1,15
@@
#!/usr/bin/perl -w
use strict;
#!/usr/bin/perl -w
use strict;
-use Test::More tests => 7;
-use Test::Exception;
-use blib;
+use lib 'lib';
-use Data::Dump qw/dump/;
-use Cwd qw/abs_path/;
+use Test::More tests => 7;
BEGIN {
BEGIN {
+use_ok( 'WebPAC::Test' );
use_ok( 'WebPAC::Common' );
}
use_ok( 'WebPAC::Common' );
}
-my $debug = shift @ARGV;
-
-ok(my $abs_path = abs_path($0), "abs_path");
-$abs_path =~ s#/[^/]*$#/#; #
-
my $path = "$abs_path/conf/test.yml";
my $common = 'WebPAC::Common';
my $path = "$abs_path/conf/test.yml";
my $common = 'WebPAC::Common';