| 1 | package Test2::Event::Diag; | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | |||
| 5 | our $VERSION = '1.302073'; | ||
| 6 | |||
| 7 | |||
| 8 | BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } | ||
| 9 | use Test2::Util::HashBase qw/message/; | ||
| 10 | |||
| 11 | sub init { | ||
| 12 | $_[0]->{+MESSAGE} = 'undef' unless defined $_[0]->{+MESSAGE}; | ||
| 13 | } | ||
| 14 | |||
| 15 | sub summary { $_[0]->{+MESSAGE} } | ||
| 16 | |||
| 17 | sub diagnostics { 1 } | ||
| 18 | |||
| 19 | 1; | ||
| 20 | |||
| 21 | __END__ |