Skip to content

cpan/Test-Simple - Update to version 1.302214 #23386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: blead
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Porting/Maintainers.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1126,8 +1126,8 @@ package Maintainers;
},

'Test::Simple' => {
'DISTRIBUTION' => 'EXODIST/Test-Simple-1.302210.tar.gz',
'SYNCINFO' => 'jkeenan on Tue Apr 1 20:47:53 2025',
'DISTRIBUTION' => 'EXODIST/Test-Simple-1.302214.tar.gz',
'SYNCINFO' => 'jkeenan on Fri Jun 27 06:54:11 2025',
'FILES' => q[cpan/Test-Simple],
'EXCLUDED' => [
qr{^examples/},
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test/Builder.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use 5.006;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

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

Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test/Builder/Formatter.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test::Builder::Formatter;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

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

Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test/Builder/Module.pm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use Test::Builder;
require Exporter;
our @ISA = qw(Exporter);

our $VERSION = '1.302210';
our $VERSION = '1.302214';


=head1 NAME
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test/Builder/Tester.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Test::Builder::Tester;

use strict;
our $VERSION = '1.302210';
our $VERSION = '1.302214';

use Test::Builder;
use Symbol;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test/Builder/Tester/Color.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Test::Builder::Tester::Color;

use strict;
our $VERSION = '1.302210';
our $VERSION = '1.302214';

require Test::Builder::Tester;

Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test/Builder/TodoDiag.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test::Builder::TodoDiag;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

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

Expand Down
4 changes: 2 additions & 2 deletions cpan/Test-Simple/lib/Test/More.pm
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sub _carp {
return warn @_, " at $file line $line\n";
}

our $VERSION = '1.302210';
our $VERSION = '1.302214';

use Test::Builder::Module;
our @ISA = qw(Test::Builder::Module);
Expand Down Expand Up @@ -2004,7 +2004,7 @@ L<Test::Most> Most commonly needed test functions and features.

=head1 ENVIRONMENT VARIABLES

See L<Test2::Env> for a list of meaningul environment variables.
See L<Test2::Env> for a list of meaningful environment variables.

=head1 AUTHORS

Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test/Simple.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use 5.006;

use strict;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

use Test::Builder::Module;
our @ISA = qw(Test::Builder::Module);
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test/Tester.pm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use Test::Tester::Delegate;

require Exporter;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

our @EXPORT = qw( run_tests check_tests check_test cmp_results show_space );
our @ISA = qw( Exporter );
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test/Tester/Capture.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use strict;

package Test::Tester::Capture;

our $VERSION = '1.302210';
our $VERSION = '1.302214';


use Test::Builder;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test/Tester/CaptureRunner.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use strict;

package Test::Tester::CaptureRunner;

our $VERSION = '1.302210';
our $VERSION = '1.302214';


use Test::Tester::Capture;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test/Tester/Delegate.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use warnings;

package Test::Tester::Delegate;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

use Scalar::Util();

Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test/use/ok.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package Test::use::ok;
use 5.005;

our $VERSION = '1.302210';
our $VERSION = '1.302214';


__END__
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test2;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';


1;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/API.pm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ BEGIN {
$ENV{TEST2_ACTIVE} = 1;
}

our $VERSION = '1.302210';
our $VERSION = '1.302214';


my $INST;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/API/Breakage.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test2::API::Breakage;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';


use Test2::Util qw/pkg_to_file/;
Expand Down
4 changes: 2 additions & 2 deletions cpan/Test-Simple/lib/Test2/API/Context.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test2::API::Context;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';


use Carp qw/confess croak/;
Expand Down Expand Up @@ -74,7 +74,7 @@ sub DESTROY {
# Sometimes $@ is uninitialized, not a problem in this case so do not
# show the warning about using eq.
no warnings 'uninitialized';
if($self->{+EVAL_ERROR} eq $@ && $hub->is_local) {
if($self->{+EVAL_ERROR} eq $@ && $hub->is_local && !$hub->suppress_release_error) {
require Carp;
my $mess = Carp::longmess("Context destroyed");
my $frame = $self->{+_IS_SPAWN} || $self->{+TRACE}->frame;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/API/Instance.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test2::API::Instance;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

our @CARP_NOT = qw/Test2::API Test2::API::Instance Test2::IPC::Driver Test2::Formatter/;
use Carp qw/confess carp/;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/API/InterceptResult.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test2::API::InterceptResult;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

use Scalar::Util qw/blessed/;
use Test2::Util qw/pkg_to_file/;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/API/InterceptResult/Event.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test2::API::InterceptResult::Event;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

use List::Util qw/first/;
use Test2::Util qw/pkg_to_file/;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/API/InterceptResult/Facet.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test2::API::InterceptResult::Facet;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

BEGIN {
require Test2::EventFacet;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/API/InterceptResult/Hub.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test2::API::InterceptResult::Hub;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

BEGIN { require Test2::Hub; our @ISA = qw(Test2::Hub) }
use Test2::Util::HashBase;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/API/InterceptResult/Squasher.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test2::API::InterceptResult::Squasher;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

use Carp qw/croak/;
use List::Util qw/first/;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/API/Stack.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test2::API::Stack;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';


use Test2::Hub();
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/AsyncSubtest.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use warnings;

use Test2::IPC;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

our @CARP_NOT = qw/Test2::Util::HashBase/;

Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/AsyncSubtest/Event/Attach.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test2::AsyncSubtest::Event::Attach;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

use base 'Test2::Event';
use Test2::Util::HashBase qw/id/;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/AsyncSubtest/Event/Detach.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test2::AsyncSubtest::Event::Detach;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

use base 'Test2::Event';
use Test2::Util::HashBase qw/id/;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/AsyncSubtest/Formatter.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test2::AsyncSubtest::Formatter;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

die "Should not load this anymore";

Expand Down
24 changes: 15 additions & 9 deletions cpan/Test-Simple/lib/Test2/AsyncSubtest/Hub.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@ package Test2::AsyncSubtest::Hub;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

use base 'Test2::Hub::Subtest';
use Test2::Util::HashBase qw/ast_ids ast/;
use Test2::Util qw/get_tid/;

my $NO_WARN_FOR_PLAN = 0;

sub do_not_warn_on_plan { $NO_WARN_FOR_PLAN = 1 };

sub init {
my $self = shift;

Expand Down Expand Up @@ -40,14 +44,16 @@ sub send {
my $self = shift;
my ($e) = @_;

if (my $ast = $self->ast) {
if ($$ != $ast->pid || get_tid != $ast->tid) {
if (my $plan = $e->facet_data->{plan}) {
unless ($plan->{skip}) {
my $trace = $e->facet_data->{trace};
bless($trace, 'Test2::EventFacet::Trace');
$trace->alert("A plan should not be set inside an async-subtest (did you call done_testing()?)");
return;
unless ($NO_WARN_FOR_PLAN) {
if (my $ast = $self->ast) {
if ($$ != $ast->pid || get_tid != $ast->tid) {
if (my $plan = $e->facet_data->{plan}) {
unless ($plan->{skip}) {
my $trace = $e->facet_data->{trace};
bless($trace, 'Test2::EventFacet::Trace');
$trace->alert("A plan should not be set inside an async-subtest (did you call done_testing()?)");
return;
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Bundle.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test2::Bundle;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

1;

Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Bundle/Extended.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use warnings;

use Test2::V0;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

BEGIN {
push @Test2::Bundle::Extended::ISA => 'Test2::V0';
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Bundle/More.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test2::Bundle::More;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

use Test2::Plugin::ExitSummary;

Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Bundle/Simple.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test2::Bundle::Simple;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

use Test2::Plugin::ExitSummary;

Expand Down
10 changes: 5 additions & 5 deletions cpan/Test-Simple/lib/Test2/Compare.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package Test2::Compare;
use strict;
use warnings;

our $VERSION = '1.302210';
our $VERSION = '1.302214';

use Scalar::Util qw/blessed/;
use Test2::Util qw/try/;
Expand Down Expand Up @@ -296,8 +296,8 @@ the value being checked.

=item $check = strict_convert($thing)

Convert C<$thing> to an L<Test2::Compare::*> object. This will behave strictly
which means it uses these settings:
Convert C<$thing> to an L<Test2::Compare::*|Test2::Compare::Base> object. This
will behave strictly which means it uses these settings:

=over 4

Expand All @@ -318,8 +318,8 @@ Regexes will be compared directly (IE are the regexes the same?)

=item $compare = relaxed_convert($thing)

Convert C<$thing> to an L<Test2::Compare::*> object. This will be relaxed which
means it uses these settings:
Convert C<$thing> to an L<Test2::Compare::*|Test2::Compare::Base> object. This
will be relaxed which means it uses these settings:

=over 4

Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Compare/Array.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use warnings;

use base 'Test2::Compare::Base';

our $VERSION = '1.302210';
our $VERSION = '1.302214';

use Test2::Util::HashBase qw/inref meta ending items order for_each/;

Expand Down
Loading
Loading