浏览代码

Added local library path

Alois Mahdal (@azzgoat) 13 年前
父节点
当前提交
bb9545431d
共有 2 个文件被更改,包括 2 次插入 和 0 次删除
  1. 1
    0
      t/001_base.t
  2. 1
    0
      t/002_index_route.t

+ 1
- 0
t/001_base.t 查看文件

1
 use Test::More tests => 1;
1
 use Test::More tests => 1;
2
 use strict;
2
 use strict;
3
 use warnings;
3
 use warnings;
4
+use lib 'lib';
4
 
5
 
5
 use_ok 'SugarTrail';
6
 use_ok 'SugarTrail';

+ 1
- 0
t/002_index_route.t 查看文件

1
 use Test::More tests => 2;
1
 use Test::More tests => 2;
2
 use strict;
2
 use strict;
3
 use warnings;
3
 use warnings;
4
+use lib 'lib';
4
 
5
 
5
 # the order is important
6
 # the order is important
6
 use SugarTrail;
7
 use SugarTrail;