TEST2::EVENT::FAIL(3pm)
π NAME π
Okay bestie, welcome to Test2::Event::Fail(3pm) β straight out of the Perl Programmers Reference Guide. This module is the event for a simple failed assertion. Thatβs the whole mood: a failed assertion, but make it an event. π
πΈ DESCRIPTION πΈ
This is an optimal representation of a failed assertion. No extra drama, no weird wrapper β itβs literally giving βfailed assertion, but make it optimal.β β¨
π¦ SYNOPSIS π¦
Hereβs the vibe in code, bestie:
use Test2::API qw/context/;
sub fail {
my ($name) = @_;
my $ctx = context();
$ctx->fail($name);
$ctx->release;
}
π SOURCE π
The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>. Go snoop, bestie. π
π MAINTAINERS π
Chad Granum <exodist@cpan.org>
π AUTHORS π
Chad Granum <exodist@cpan.org>
π COPYRIGHT π
Copyright Chad Granum <exodist@cpan.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <https://dev.perl.org/licenses/>
And thatβs the teardown, bestie: this page came from perl v5.42.3, dated 2026-11-03, and itβs the manual for Test2::Event::Fail(3pm). Slay. πβ¨
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms