-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build results of dae4713 (on master)
- Loading branch information
1 parent
e171512
commit c6dbbbc
Showing
10 changed files
with
81 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Release history for Dist-Zilla-Plugin-RemovePrereqs-Provided | ||
|
||
0.001000 2015-05-06T00:19:31Z f69eeed | ||
0.001000 2015-05-06T00:29:04Z dae4713 | ||
- First version. | ||
|
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
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,42 @@ | ||
use strict; | ||
use warnings; | ||
|
||
use Test::More; | ||
|
||
# ABSTRACT: A basic test | ||
use recommended "Dist::Zilla::Plugin::MetaProvides::Package"; | ||
|
||
BEGIN { | ||
plan skip_all => "Requires [MetaProvides::Package]" | ||
unless recommended->has("Dist::Zilla::Plugin::MetaProvides::Package"); | ||
} | ||
|
||
use Dist::Zilla::Plugin::Prereqs; | ||
use Dist::Zilla::Plugin::GatherDir; | ||
use Dist::Zilla::Util::Test::KENTNL 1.005000 qw( dztest ); | ||
use Test::DZil qw( simple_ini ); | ||
|
||
my $t = dztest(); | ||
my $package = 'BadName'; | ||
|
||
$t->add_file( | ||
'dist.ini' => simple_ini( | ||
['GatherDir'], # | ||
['MetaProvides::Package'], # | ||
[ 'Prereqs', { $package => 0 } ], # | ||
['RemovePrereqs::Provided'], # | ||
) | ||
); | ||
$t->add_file( 'lib/BadName.pm' => <<"EOF" ); | ||
package ${package}; | ||
our \$VERSION = 0.001; | ||
1; | ||
EOF | ||
|
||
$t->build_ok; | ||
|
||
$t->prereqs_deeply( {} ); # No prereqs | ||
|
||
note explain $t->builder->log_messages; | ||
done_testing; |
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