Skip to content

Commit

Permalink
Derecommend use of dztest
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Sep 10, 2016
1 parent 56ba202 commit fa37013
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Release history for Dist-Zilla-Plugin-Author-KENTNL-RecommendFixes
{{$NEXT}}
[Checks]
- Derecommend use of ConfigDumper, it was a nice idea, but the dependency and test complexity I can do without.
- Derecommend use of dztest, again, nice idea, but unwanted complexity proliferation.

[Dependencies::Stats]
- Dependencies changed since 0.005001, see misc/*.deps* for details
Expand Down
2 changes: 1 addition & 1 deletion lib/Dist/Zilla/Plugin/Author/KENTNL/RecommendFixes.pm
Original file line number Diff line number Diff line change
Expand Up @@ -499,10 +499,10 @@ sub dzil_plugin_check {
FIND_DZTEST: {
for my $tfile ( @{ $self->tfiles } ) {
if ( $assert->test( have_line => $tfile, qr/dztest/ ) ) {
$self->log('Tests should probably not use dztest (Dist::Zilla::Util::Test::KENTNL)');
last FIND_DZTEST;
}
}
$self->log('A test should probably use dztest (Dist::Zilla::Util::Test::KENTNL)');
}
return;
}
Expand Down

0 comments on commit fa37013

Please sign in to comment.