The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more
123456789101112131415161718 use strict;use warnings;use lib 't/lib';use Std;{ my ($prem, @res) = eval { run_tests( sub { cmp_deeply([shallow([])], [[]], "bad special"); } ); }; like($@, qr/^Found a special comparison in \$data->\[0\]\nYou can only use specials in the expects structure/, "bad special");}
use
strict;
warnings;
lib
't/lib'
;
Std;
{
my
(
$prem
,
@res
) =
eval
run_tests(
sub
cmp_deeply([shallow([])], [[]],
"bad special"
);
}
};
like($@,
qr/^Found a special comparison in \$data->\[0\]\nYou can only use specials in the expects structure/