blib/lib/Mason/t/Sanity.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 8 | 8 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 11 | 12 | 91.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Mason::t::Sanity; | ||||||
2 | $Mason::t::Sanity::VERSION = '2.23'; | ||||||
3 | 1 | 1 | 1098 | use Test::Class::Most parent => 'Mason::Test::Class'; | |||
1 | 30120 | ||||||
1 | 6 | ||||||
4 | |||||||
5 | sub test_ok : Tests { | ||||||
6 | 1 | 1 | 0 | 702 | my $self = shift; | ||
7 | 1 | 8 | $self->test_comp( src => '2 + 2 = <% 2 + 2 %>', expect => '2 + 2 = 4' ); | ||||
8 | 1 | 1 | 136 | } | |||
1 | 2 | ||||||
1 | 8 | ||||||
9 | |||||||
10 | 1; |