����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
use strict;
use warnings FATAL => 'all';
use Test::More;
use Test::Fatal;
use Carp 'confess';
sub exception_like(&$;$)
{
my ($code, $pattern, $name) = @_;
like( &exception($code), $pattern, $name );
}
exception_like(sub { confess 'blah blah' }, qr/foo/, 'foo seems to appear in the exception');
# the test only passes when we invert it
unlike(
( exception { confess 'blah blah' } || '' ),
qr/foo/,
'foo does NOT ACTUALLY appear in the exception',
);
done_testing;
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| convert-to-test-fatal | File | 2.82 KB | 0755 |
|
| exception_like.t | File | 488 B | 0644 |
|