File Coverage

blib/lib/Git/Validate/Error/MissingBreak.pm
Criterion Covered Total %
statement 7 7 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 10 10 100.0


line stmt bran cond sub pod time code
1             package Git::Validate::Error::MissingBreak;
2             $Git::Validate::Error::MissingBreak::VERSION = '0.001001';
3 1     1   537 use Moo;
  1         1  
  1         6  
4              
5 1     1   260 use overload q("") => '_stringify';
  1         2  
  1         6  
6              
7             with 'Git::Validate::HasLine';
8              
9             has '+line_number' => ( default => 2 );
10              
11             sub _stringify {
12 2     2   950 sprintf 'line %d should be blank, instead it was "%s"',
13             $_[0]->line_number, $_[0]->line
14             }
15              
16             1;
17