1 package Test2::Event::Note;
5 our $VERSION = '1.302169';
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} }
20 my $out = $self->common_facet_data;
26 details => $self->{+MESSAGE},
43 Test2::Event::Note - Note event type
47 Notes, typically rendered to STDOUT.
51 use Test2::API qw/context/;
52 use Test2::Event::Note;
55 my $event = $ctx->Note($message);
63 The message for the note.
69 The source code repository for Test2 can be found at
70 F<http://github.com/Test-More/test-more/>.
76 =item Chad Granum E<lt>exodist@cpan.orgE<gt>
84 =item Chad Granum E<lt>exodist@cpan.orgE<gt>
90 Copyright 2019 Chad Granum E<lt>exodist@cpan.orgE<gt>.
92 This program is free software; you can redistribute it and/or
93 modify it under the same terms as Perl itself.
95 See F<http://dev.perl.org/licenses/>