Skip to content

Commit

Permalink
Update Test::Simple from 1.302183 to 1.302185
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Maischein committed May 23, 2021
1 parent c69e429 commit efd7ab4
Show file tree
Hide file tree
Showing 73 changed files with 114 additions and 75 deletions.
1 change: 1 addition & 0 deletions MANIFEST
Expand Up @@ -2500,6 +2500,7 @@ cpan/Test-Simple/t/regression/errors_facet.t
cpan/Test-Simple/t/regression/fork_first.t
cpan/Test-Simple/t/regression/inherit_trace.t
cpan/Test-Simple/t/regression/no_name_in_subtest.t
cpan/Test-Simple/t/regression/skip_reason_object_ipc.t
cpan/Test-Simple/t/regression/todo_and_facets.t
cpan/Test-Simple/t/Test2/acceptance/try_it_done_testing.t
cpan/Test-Simple/t/Test2/acceptance/try_it_fork.t
Expand Down
2 changes: 1 addition & 1 deletion Porting/Maintainers.pl
Expand Up @@ -1080,7 +1080,7 @@ package Maintainers;
},

'Test::Simple' => {
'DISTRIBUTION' => 'EXODIST/Test-Simple-1.302183.tar.gz',
'DISTRIBUTION' => 'EXODIST/Test-Simple-1.302185.tar.gz',
'FILES' => q[cpan/Test-Simple],
'EXCLUDED' => [
qr{^examples/},
Expand Down
15 changes: 10 additions & 5 deletions cpan/Test-Simple/lib/Test/Builder.pm
Expand Up @@ -4,7 +4,7 @@ use 5.006;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';

BEGIN {
if( $] < 5.008 ) {
Expand Down Expand Up @@ -655,6 +655,8 @@ sub skip_all {
die 'Label not found for "last T2_SUBTEST_WRAPPER"' if $begin && $ctx->hub->meta(__PACKAGE__, {})->{parent};
}

$reason = "$reason" if defined $reason;

$ctx->plan(0, SKIP => $reason);
}

Expand Down Expand Up @@ -1072,6 +1074,13 @@ sub skip {

my $ctx = $self->ctx;

$name = "$name";
$why = "$why";

$name =~ s|#|\\#|g; # # in a name can confuse Test::Harness.
$name =~ s{\n}{\n# }sg;
$why =~ s{\n}{\n# }sg;

$ctx->hub->meta(__PACKAGE__, {})->{Test_Results}[ $ctx->hub->count ] = {
'ok' => 1,
actual_ok => 1,
Expand All @@ -1080,10 +1089,6 @@ sub skip {
reason => $why,
} unless $self->{no_log_results};

$name =~ s|#|\\#|g; # # in a name can confuse Test::Harness.
$name =~ s{\n}{\n# }sg;
$why =~ s{\n}{\n# }sg;

my $tctx = $ctx->snapshot;
$tctx->skip('', $why);

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

our $VERSION = '1.302183';
our $VERSION = '1.302185';

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
Expand Up @@ -7,7 +7,7 @@ use Test::Builder;
require Exporter;
our @ISA = qw(Exporter);

our $VERSION = '1.302183';
our $VERSION = '1.302185';


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

use strict;
our $VERSION = '1.302183';
our $VERSION = '1.302185';

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

use strict;
our $VERSION = '1.302183';
our $VERSION = '1.302185';

require Test::Builder::Tester;

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

our $VERSION = '1.302183';
our $VERSION = '1.302185';

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

Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test/More.pm
Expand Up @@ -17,7 +17,7 @@ sub _carp {
return warn @_, " at $file line $line\n";
}

our $VERSION = '1.302183';
our $VERSION = '1.302185';

use Test::Builder::Module;
our @ISA = qw(Test::Builder::Module);
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test/Simple.pm
Expand Up @@ -4,7 +4,7 @@ use 5.006;

use strict;

our $VERSION = '1.302183';
our $VERSION = '1.302185';

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
Expand Up @@ -18,7 +18,7 @@ require Exporter;

use vars qw( @ISA @EXPORT );

our $VERSION = '1.302183';
our $VERSION = '1.302185';

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

package Test::Tester::Capture;

our $VERSION = '1.302183';
our $VERSION = '1.302185';


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

package Test::Tester::CaptureRunner;

our $VERSION = '1.302183';
our $VERSION = '1.302185';


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

package Test::Tester::Delegate;

our $VERSION = '1.302183';
our $VERSION = '1.302185';

use Scalar::Util();

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

our $VERSION = '1.302183';
our $VERSION = '1.302185';


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

our $VERSION = '1.302183';
our $VERSION = '1.302185';


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

our $VERSION = '1.302183';
our $VERSION = '1.302185';


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

our $VERSION = '1.302183';
our $VERSION = '1.302185';


use Test2::Util qw/pkg_to_file/;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/API/Context.pm
Expand Up @@ -2,7 +2,7 @@ package Test2::API::Context;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';


use Carp qw/confess croak/;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/API/Instance.pm
Expand Up @@ -2,7 +2,7 @@ package Test2::API::Instance;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';

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
Expand Up @@ -2,7 +2,7 @@ package Test2::API::InterceptResult;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';

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
Expand Up @@ -2,7 +2,7 @@ package Test2::API::InterceptResult::Event;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';

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
Expand Up @@ -2,7 +2,7 @@ package Test2::API::InterceptResult::Facet;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';

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

our $VERSION = '1.302183';
our $VERSION = '1.302185';

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
Expand Up @@ -2,7 +2,7 @@ package Test2::API::InterceptResult::Squasher;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';

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
Expand Up @@ -2,7 +2,7 @@ package Test2::API::Stack;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';


use Test2::Hub();
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Event.pm
Expand Up @@ -2,7 +2,7 @@ package Test2::Event;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';

use Scalar::Util qw/blessed reftype/;
use Carp qw/croak/;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Event/Bail.pm
Expand Up @@ -2,7 +2,7 @@ package Test2::Event::Bail;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';


BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Event/Diag.pm
Expand Up @@ -2,7 +2,7 @@ package Test2::Event::Diag;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';


BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Event/Encoding.pm
Expand Up @@ -2,7 +2,7 @@ package Test2::Event::Encoding;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';

use Carp qw/croak/;

Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Event/Exception.pm
Expand Up @@ -2,7 +2,7 @@ package Test2::Event::Exception;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';


BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Event/Fail.pm
Expand Up @@ -2,7 +2,7 @@ package Test2::Event::Fail;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';

use Test2::EventFacet::Info;

Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Event/Generic.pm
Expand Up @@ -5,7 +5,7 @@ use warnings;
use Carp qw/croak/;
use Scalar::Util qw/reftype/;

our $VERSION = '1.302183';
our $VERSION = '1.302185';

BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
use Test2::Util::HashBase;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Event/Note.pm
Expand Up @@ -2,7 +2,7 @@ package Test2::Event::Note;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';


BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Event/Ok.pm
Expand Up @@ -2,7 +2,7 @@ package Test2::Event::Ok;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';


BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Event/Pass.pm
Expand Up @@ -2,7 +2,7 @@ package Test2::Event::Pass;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';

use Test2::EventFacet::Info;

Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Event/Plan.pm
Expand Up @@ -2,7 +2,7 @@ package Test2::Event::Plan;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';


BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Event/Skip.pm
Expand Up @@ -2,7 +2,7 @@ package Test2::Event::Skip;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';


BEGIN { require Test2::Event::Ok; our @ISA = qw(Test2::Event::Ok) }
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Event/Subtest.pm
Expand Up @@ -2,7 +2,7 @@ package Test2::Event::Subtest;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';

BEGIN { require Test2::Event::Ok; our @ISA = qw(Test2::Event::Ok) }
use Test2::Util::HashBase qw{subevents buffered subtest_id subtest_uuid};
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Event/TAP/Version.pm
Expand Up @@ -2,7 +2,7 @@ package Test2::Event::TAP::Version;
use strict;
use warnings;

our $VERSION = '1.302183';
our $VERSION = '1.302185';

use Carp qw/croak/;

Expand Down

0 comments on commit efd7ab4

Please sign in to comment.