1Test2::Event::Fail(3) User Contributed Perl DocumentationTest2::Event::Fail(3)
2
3
4

NAME

6       Test2::Event::Fail - Event for a simple failed assertion
7

DESCRIPTION

9       This is an optimal representation of a failed assertion.
10

SYNOPSIS

12           use Test2::API qw/context/;
13
14           sub fail {
15               my ($name) = @_;
16               my $ctx = context();
17               $ctx->fail($name);
18               $ctx->release;
19           }
20

SOURCE

22       The source code repository for Test2 can be found at
23       http://github.com/Test-More/test-more/.
24

MAINTAINERS

26       Chad Granum <exodist@cpan.org>
27

AUTHORS

29       Chad Granum <exodist@cpan.org>
30
32       Copyright 2018 Chad Granum <exodist@cpan.org>.
33
34       This program is free software; you can redistribute it and/or modify it
35       under the same terms as Perl itself.
36
37       See http://dev.perl.org/licenses/
38
39
40
41perl v5.26.3                      2018-03-30             Test2::Event::Fail(3)
Impressum