The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
use strict;
use Test::Base::Less;

filters {
    input => ['trim', \&CORE::uc],
    expected => ['trim'],
};

run_is input => 'expected';

done_testing;

__DATA__

=== Normal Case
--- input
x
y
z
--- expected
X
Y
Z

=== Contains numeric chars
--- input
Hello,
5963
--- expected
HELLO,
5963