Dist/Zilla/Plugin/ATOOMIC/Git/CheckFor/CorrectBranch.pm untested

filter: Statementstmt 0.0% 0 / 26 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod n/a totaltotal 0.0% 0 / 34 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Dist::Zilla::Plugin::ATOOMIC::Git::CheckFor::CorrectBranch;
2  
3 use v5.10;
4  
5 use strict;
6 use warnings;
7 use autodie;
8 use namespace::autoclean;
9  
10 our $VERSION = '1.00';
11  
12 use Moose;
13  
14 extends 'Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch';
15  
16 override before_release => sub {
17 my $self = shift;
18  
19 return if $self->zilla->is_trial;
20  
21 super();
22 };
23  
24 __PACKAGE__->meta->make_immutable;
25  
26 1;
27  
28 # ABSTRACT: Checks the branch on non-TRIAL releases
29  
30 __END__