1 package Test2::Event::Note;
5 our $VERSION = '1.302040';
8 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
9 use Test2::Util::HashBase qw/message/;
12 $_[0]->{+MESSAGE} = 'undef' unless defined $_[0]->{+MESSAGE};
15 sub summary { $_[0]->{+MESSAGE} }
27 Test2::Event::Note - Note event type
31 Notes, typically rendered to STDOUT.
35 use Test2::API qw/context/;
36 use Test2::Event::Note;
39 my $event = $ctx->Note($message);
47 The message for the note.
53 The source code repository for Test2 can be found at
54 F<http://github.com/Test-More/test-more/>.
60 =item Chad Granum E<lt>exodist@cpan.orgE<gt>
68 =item Chad Granum E<lt>exodist@cpan.orgE<gt>
74 Copyright 2016 Chad Granum E<lt>exodist@cpan.orgE<gt>.
76 This program is free software; you can redistribute it and/or
77 modify it under the same terms as Perl itself.
79 See F<http://dev.perl.org/licenses/>