"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cpan/Scalar-List-Utils/t/sum.t" between
perl-5.32.0-RC0.tar.xz and perl-5.32.0-RC1.tar.xz

About: Perl (Practical Extraction and Report Language) is a high-level, general-purpose, interpreted, dynamic programming language. Release candidate.

sum.t  (perl-5.32.0-RC0.tar.xz):sum.t  (perl-5.32.0-RC1.tar.xz)
skipping to change at line 12 skipping to change at line 12
use strict; use strict;
use warnings; use warnings;
use Test::More tests => 18; use Test::More tests => 18;
use Config; use Config;
use List::Util qw(sum); use List::Util qw(sum);
my $v = sum; my $v = sum;
is( $v, undef, 'no args'); is( $v, undef, 'no args');
$v = sum(9); $v = sum(9);
is( $v, 9, 'one arg'); is( $v, 9, 'one arg');
$v = sum(1,2,3,4); $v = sum(1,2,3,4);
is( $v, 10, '4 args'); is( $v, 10, '4 args');
$v = sum(-1); $v = sum(-1);
is( $v, -1, 'one -1'); is( $v, -1, 'one -1');
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)