Test::...:Assert(3pm)
π Test::Harness::Assert β simple assert π
okay bestie, so this is Test::Harness::Assert from the Test::...:Assert(3pm) manual, and I need you to hear me when I say: it does one thing and it does it slay. β¨
πΈ NAME πΈ
Test::Harness::Assert β simple assert π
π SYNOPSIS π
### FOR INTERNAL USE ONLY ###
use Test::Harness::Assert;
assert( EXPR, $name );
like, that's it. that's the whole vibe. π
π¦ DESCRIPTION π¦
A simple assert routine since we don't have Carp::Assert handy. ngl sometimes you just gotta assert and nobody brought the fancy module, so here we are π«Ά
For internal use by Test::Harness ONLY! π¨ like genuinely, this is not for you, this is Test::Harness's private little thing. stay out of its room bestie π
β¨ FUNCTIONS β¨
π assert()
assert( EXPR, $name );
If the expression is false, the program aborts. no negotiation, no second chances, no "wait let me explain" β it's giving main character exit π π
π AUTHOR π
Michael G Schwern "<schwern at pobox.com>" β the icon who wrote it, periodt β¨
π SEE ALSO π
Carp::Assertβ the one we didn't have handy, iykyk π
and that's the whole page, bestie! this was pulled from the perl v5.42.0 docs, dated 2025-07-25, under the Test::...:Assert(3pm) manual name β go forth and assert responsibly, but like, internally only ππ§πΈ
π¦ where this page comes from
- fedora 43: perl-Test-Harness-Straps 0.30-47.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms