Skip to content

Commit

Permalink
update Test-Simple 1.302207 -> 1.302209
Browse files Browse the repository at this point in the history
  • Loading branch information
ericherman authored and jkeenan committed Feb 5, 2025
1 parent b9f3364 commit 633ac22
Show file tree
Hide file tree
Showing 198 changed files with 341 additions and 254 deletions.
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -2709,6 +2709,7 @@ cpan/Test-Simple/lib/Test2/Util/Guard.pm Test-Simple
cpan/Test-Simple/lib/Test2/Util/HashBase.pm Module related to Test::Simple
cpan/Test-Simple/lib/Test2/Util/Importer.pm Test-Simple
cpan/Test-Simple/lib/Test2/Util/Ref.pm Test-Simple
cpan/Test-Simple/lib/Test2/Util/Sig.pm Test-Simple
cpan/Test-Simple/lib/Test2/Util/Stash.pm Test-Simple
cpan/Test-Simple/lib/Test2/Util/Sub.pm Test-Simple
cpan/Test-Simple/lib/Test2/Util/Table.pm Test-Simple
Expand Down
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.302207.tar.gz',
'SYNCINFO' => 'jkeenan on Sun Jan 5 06:26:14 2025',
'DISTRIBUTION' => 'EXODIST/Test-Simple-1.302209.tar.gz',
'SYNCINFO' => 'eric on Wed Feb 5 17:23:19 2025',
'FILES' => q[cpan/Test-Simple],
'EXCLUDED' => [
qr{^examples/},
Expand Down
16 changes: 13 additions & 3 deletions 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.302207';
our $VERSION = '1.302209';

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

Expand Down Expand Up @@ -963,13 +963,23 @@ sub cmp_ok {
# over it, which can lead to issues with Devel::Cover
my $bits_code = defined $warning_bits ? qq["\Q$warning_bits\E"] : 'undef';

# This is so that warnings come out at the caller's level
# Make sure warnings and location matches the caller. Can't do the
# comparison directly in the eval, as closing over variables can
# capture them forever when running with Devel::Cover.
my $check;
$succ = eval qq[
BEGIN {\${^WARNING_BITS} = $bits_code};
#line $line "(eval in cmp_ok) $file"
\$test = (\$got $type \$expect);
\$check = sub { \$_[0] $type \$_[1] };
1;
];

if ($succ) {
$succ = eval {
$test = $check->($got, $expect);
1;
};
}
$error = $@;
}
local $Level = $Level + 1;
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.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';


=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.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';

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
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.302207';
our $VERSION = '1.302209';

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
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use 5.006;

use strict;

our $VERSION = '1.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';


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.302207';
our $VERSION = '1.302209';


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.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';


__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.302207';
our $VERSION = '1.302209';


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.302207';
our $VERSION = '1.302209';


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.302207';
our $VERSION = '1.302209';


use Test2::Util qw/pkg_to_file/;
Expand Down
2 changes: 1 addition & 1 deletion 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.302207';
our $VERSION = '1.302209';


use Carp qw/confess croak/;
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.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';


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.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';

die "Should not load this anymore";

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

our $VERSION = '1.302207';
our $VERSION = '1.302209';

use base 'Test2::Hub::Subtest';
use Test2::Util::HashBase qw/ast_ids ast/;
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.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';

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.302207';
our $VERSION = '1.302209';

use Test2::Plugin::ExitSummary;

Expand Down
2 changes: 1 addition & 1 deletion 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.302207';
our $VERSION = '1.302209';

use Scalar::Util qw/blessed/;
use Test2::Util qw/try/;
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.302207';
our $VERSION = '1.302209';

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

Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Compare/Bag.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.302207';
our $VERSION = '1.302209';

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

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

our $VERSION = '1.302207';
our $VERSION = '1.302209';

use Carp qw/confess croak/;
use Scalar::Util qw/blessed/;
Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Compare/Bool.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use Carp qw/confess/;

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

our $VERSION = '1.302207';
our $VERSION = '1.302209';

use Test2::Util::HashBase qw/input/;

Expand Down
2 changes: 1 addition & 1 deletion cpan/Test-Simple/lib/Test2/Compare/Custom.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.302207';
our $VERSION = '1.302209';

use Test2::Util::HashBase qw/code name operator stringify_got/;

Expand Down
Loading

0 comments on commit 633ac22

Please sign in to comment.