-
Notifications
You must be signed in to change notification settings - Fork 1
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 6e0632a (on master)
- Loading branch information
1 parent
255f6e7
commit a4492b8
Showing
3 changed files
with
32 additions
and
1 deletion.
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 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,30 @@ | ||
use strict; | ||
use warnings; | ||
|
||
use Test::More; | ||
use Dist::Zilla::Util::Test::KENTNL 1.0001002 qw( dztest ); | ||
use Test::DZil qw( simple_ini ); | ||
|
||
# ABSTRACT: basic test | ||
|
||
my $ini = simple_ini( ['Author::KENTNL::RecommendFixes'] ); | ||
my $dz = dztest(); | ||
|
||
$dz->add_file( 'dist.ini', $ini ); | ||
$dz->add_file( 'lib/.keep' , q[]); | ||
$dz->build_ok; | ||
$dz->has_messages( | ||
[ | ||
[ qr/\.git does not exist/, 'Uninitialized git' ], | ||
[ qr/dist\.ini\.meta does not exist/, 'Unbaked dist' ], | ||
[ qr/weaver\.ini does not exist/, 'Ancient Pod::Weaver' ], | ||
[ qr/perltidyrc does not exist/, 'No perltidy' ], | ||
[ qr/Changes does not exist/, 'No Changes' ], | ||
[ qr/LICENSE does not exist/, 'No LICENSE' ], | ||
[ qr/Changes\.deps does not exist/, 'Diff changes' ], | ||
] | ||
); | ||
|
||
note explain $dz->builder->log_messages; | ||
|
||
done_testing; |