like $w1, expect('Warn1'), 'first warning caught without arguments';
like $w2, expect('Warn2'), 'second warning caught without arguments';
is_deeply \@warns, [ ], 'no more warnings without arguments';
}
{
like $w1, expect('Warn1'), 'first warning caught without arguments';
like $w2, expect('Warn2'), 'second warning caught without arguments';
is_deeply \@warns, [ ], 'no more warnings without arguments';
}
{