Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The converted tests (not tested at all)
- Loading branch information
Showing
14 changed files
with
39 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
use strict; | ||
use Test::More tests => 3; | ||
|
||
use Find::Lib libs => [ '../mylib', 'mytestlib' ], | ||
pkgs => { MyLib => [ a => 1, b => 42+42 ], | ||
'Test::More' => [], | ||
}; | ||
use Find::Lib '../mylib', 'mytestlib', | ||
use MyLib a => 1, b => 42+42; | ||
|
||
ok $MyLib::imported{'a'}; | ||
is $MyLib::imported{'b'}, 84; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
use strict; | ||
use Test::More tests => 3; | ||
|
||
use Find::Lib libs => [ '../mylib', 'mytestlib']; | ||
use MyLib a => 1, b => 42+42; | ||
|
||
ok $MyLib::imported{'a'}; | ||
is $MyLib::imported{'b'}, 84; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
use strict; | ||
use Test::More tests => 3; | ||
|
||
## this is potentially conflicting with backward | ||
## except that we're smart enough to detect it | ||
use Find::Lib 'libs', '../mylib', 'mytestlib'; | ||
use MyLib a => 1, b => 42+42; | ||
|
||
ok $MyLib::imported{'a'}; | ||
is $MyLib::imported{'b'}, 84; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters