- or download this
use Test::More tests => 1;
...
diag "@{$_}\n" for @sorted;
is_deeply( \@sorted, \@wanted, 'Sorted array matches expectation.' );
- or download this
1..1
# one
...
# zzz def ghi
# blah asdf foo bar
ok 1 - Sorted array matches expectation.
- or download this
use Test::More tests => 1;
...
diag "@{$_}\n" for @sorted;
is_deeply( \@sorted, \@wanted, 'Sorted array matches expectation.' );