Skip to content

Commit eb36027

Browse files
Chad Granumjkeenan
authored andcommitted
cpan/Test-Simple - Update to version 1.302210
1.302210 2025-03-29 12:06:57-07:00 America/Los_Angeles - Alexander Hartmaier - fix typo in Test2::Util::Trace docs - Karen Etheridge - documentation fixes throughout for affect vs effect - Yasuharu Iida feat - Test2::Tools::Warnings warns called in void context - bernhard Eliminate - Remove unnecessary empty list assignments - Graham Knop calculate - CAN_SIGSYS when called rather than as a constant
1 parent d58f204 commit eb36027

File tree

200 files changed

+277
-242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+277
-242
lines changed

Porting/Maintainers.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,8 +1126,8 @@ package Maintainers;
11261126
},
11271127

11281128
'Test::Simple' => {
1129-
'DISTRIBUTION' => 'EXODIST/Test-Simple-1.302209.tar.gz',
1130-
'SYNCINFO' => 'eric on Wed Feb 5 17:23:19 2025',
1129+
'DISTRIBUTION' => 'EXODIST/Test-Simple-1.302210.tar.gz',
1130+
'SYNCINFO' => 'jkeenan on Tue Apr 1 20:47:53 2025',
11311131
'FILES' => q[cpan/Test-Simple],
11321132
'EXCLUDED' => [
11331133
qr{^examples/},

cpan/Test-Simple/lib/Test/Builder.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use 5.006;
44
use strict;
55
use warnings;
66

7-
our $VERSION = '1.302209';
7+
our $VERSION = '1.302210';
88

99
use Scalar::Util qw/blessed reftype weaken/;
1010

@@ -2568,7 +2568,7 @@ If you fail more than 254 tests, it will be reported as 254.
25682568
25692569
In perl 5.8.1 and later, Test::Builder is thread-safe. The test number is
25702570
shared by all threads. This means if one thread sets the test number using
2571-
C<current_test()> they will all be effected.
2571+
C<current_test()> they will all be affected.
25722572
25732573
While versions earlier than 5.8.1 had threads they contain too many
25742574
bugs to support.

cpan/Test-Simple/lib/Test/Builder/Formatter.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package Test::Builder::Formatter;
22
use strict;
33
use warnings;
44

5-
our $VERSION = '1.302209';
5+
our $VERSION = '1.302210';
66

77
BEGIN { require Test2::Formatter::TAP; our @ISA = qw(Test2::Formatter::TAP) }
88

cpan/Test-Simple/lib/Test/Builder/Module.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use Test::Builder;
77
require Exporter;
88
our @ISA = qw(Exporter);
99

10-
our $VERSION = '1.302209';
10+
our $VERSION = '1.302210';
1111

1212

1313
=head1 NAME

cpan/Test-Simple/lib/Test/Builder/Tester.pm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package Test::Builder::Tester;
22

33
use strict;
4-
our $VERSION = '1.302209';
4+
our $VERSION = '1.302210';
55

66
use Test::Builder;
77
use Symbol;
@@ -280,7 +280,7 @@ Actually performs the output check testing the tests, comparing the
280280
data (with C<eq>) that we have captured from L<Test::Builder> against
281281
what was declared with C<test_out> and C<test_err>.
282282
283-
This takes name/value pairs that effect how the test is run.
283+
This takes name/value pairs that affect how the test is run.
284284
285285
=over
286286
@@ -438,8 +438,8 @@ sub color {
438438
439439
Test::Builder::Tester does not handle plans well. It has never done anything
440440
special with plans. This means that plans from outside Test::Builder::Tester
441-
will effect Test::Builder::Tester, worse plans when using Test::Builder::Tester
442-
will effect overall testing. At this point there are no plans to fix this bug
441+
will affect Test::Builder::Tester, worse plans when using Test::Builder::Tester
442+
will affect overall testing. At this point there are no plans to fix this bug
443443
as people have come to depend on it, and Test::Builder::Tester is now
444444
discouraged in favor of C<Test2::API::intercept()>. See
445445
L<https://github.com/Test-More/test-more/issues/667>

cpan/Test-Simple/lib/Test/Builder/Tester/Color.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package Test::Builder::Tester::Color;
22

33
use strict;
4-
our $VERSION = '1.302209';
4+
our $VERSION = '1.302210';
55

66
require Test::Builder::Tester;
77

cpan/Test-Simple/lib/Test/Builder/TodoDiag.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package Test::Builder::TodoDiag;
22
use strict;
33
use warnings;
44

5-
our $VERSION = '1.302209';
5+
our $VERSION = '1.302210';
66

77
BEGIN { require Test2::Event::Diag; our @ISA = qw(Test2::Event::Diag) }
88

cpan/Test-Simple/lib/Test/More.pm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sub _carp {
1717
return warn @_, " at $file line $line\n";
1818
}
1919

20-
our $VERSION = '1.302209';
20+
our $VERSION = '1.302210';
2121

2222
use Test::Builder::Module;
2323
our @ISA = qw(Test::Builder::Module);
@@ -177,7 +177,7 @@ sub import_extra {
177177
my $class = shift;
178178
my $list = shift;
179179

180-
my @other = ();
180+
my @other;
181181
my $idx = 0;
182182
my $import;
183183
while( $idx <= $#{$list} ) {
@@ -579,7 +579,7 @@ sub can_ok ($@) {
579579
return $ok;
580580
}
581581

582-
my @nok = ();
582+
my @nok;
583583
foreach my $method (@methods) {
584584
$tb->_try( sub { $proto->can($method) } ) or push @nok, $method;
585585
}
@@ -997,7 +997,7 @@ import anything, use C<require_ok>.
997997

998998
sub use_ok ($;@) {
999999
my( $module, @imports ) = @_;
1000-
@imports = () unless @imports;
1000+
10011001
my $tb = Test::More->builder;
10021002

10031003
my %caller;
@@ -1185,7 +1185,7 @@ sub _format_stack {
11851185
}
11861186

11871187
my @vals = @{ $Stack[-1]{vals} }[ 0, 1 ];
1188-
my @vars = ();
1188+
my @vars;
11891189
( $vars[0] = $var ) =~ s/\$FOO/ \$got/;
11901190
( $vars[1] = $var ) =~ s/\$FOO/\$expected/;
11911191

cpan/Test-Simple/lib/Test/Simple.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use 5.006;
44

55
use strict;
66

7-
our $VERSION = '1.302209';
7+
our $VERSION = '1.302210';
88

99
use Test::Builder::Module;
1010
our @ISA = qw(Test::Builder::Module);

cpan/Test-Simple/lib/Test/Tester.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use Test::Tester::Delegate;
1616

1717
require Exporter;
1818

19-
our $VERSION = '1.302209';
19+
our $VERSION = '1.302210';
2020

2121
our @EXPORT = qw( run_tests check_tests check_test cmp_results show_space );
2222
our @ISA = qw( Exporter );

0 commit comments

Comments
 (0)