logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Authors

Chad Granum <exodist@cpan.org>

Description

This is an optimal representation of a failed assertion.

Maintainers

Chad Granum <exodist@cpan.org>

Name

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

Source

The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>.

Synopsis

use Test2::API qw/context/; sub fail { my ($name) = @_; my $ctx = context(); $ctx->fail($name); $ctx->release; }
return

See Also