diff options
Diffstat (limited to 'cpan/Test-Simple/lib/Test2/Event')
-rw-r--r-- | cpan/Test-Simple/lib/Test2/Event/Bail.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/Event/Diag.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/Event/Encoding.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/Event/Exception.pm | 11 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/Event/Fail.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/Event/Generic.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/Event/Note.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/Event/Ok.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/Event/Pass.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/Event/Plan.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/Event/Skip.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/Event/Subtest.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/Event/TAP/Version.pm | 2 | ||||
-rw-r--r-- | cpan/Test-Simple/lib/Test2/Event/Waiting.pm | 2 |
14 files changed, 23 insertions, 14 deletions
diff --git a/cpan/Test-Simple/lib/Test2/Event/Bail.pm b/cpan/Test-Simple/lib/Test2/Event/Bail.pm index bd1dda90fa..b9b35391c9 100644 --- a/cpan/Test-Simple/lib/Test2/Event/Bail.pm +++ b/cpan/Test-Simple/lib/Test2/Event/Bail.pm @@ -2,7 +2,7 @@ package Test2::Event::Bail; use strict; use warnings; -our $VERSION = '1.302096'; +our $VERSION = '1.302097'; BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } diff --git a/cpan/Test-Simple/lib/Test2/Event/Diag.pm b/cpan/Test-Simple/lib/Test2/Event/Diag.pm index 974a2038e1..3ebffd17e3 100644 --- a/cpan/Test-Simple/lib/Test2/Event/Diag.pm +++ b/cpan/Test-Simple/lib/Test2/Event/Diag.pm @@ -2,7 +2,7 @@ package Test2::Event::Diag; use strict; use warnings; -our $VERSION = '1.302096'; +our $VERSION = '1.302097'; BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } diff --git a/cpan/Test-Simple/lib/Test2/Event/Encoding.pm b/cpan/Test-Simple/lib/Test2/Event/Encoding.pm index 78f8aa2f01..597d929dd8 100644 --- a/cpan/Test-Simple/lib/Test2/Event/Encoding.pm +++ b/cpan/Test-Simple/lib/Test2/Event/Encoding.pm @@ -2,7 +2,7 @@ package Test2::Event::Encoding; use strict; use warnings; -our $VERSION = '1.302096'; +our $VERSION = '1.302097'; use Carp qw/croak/; diff --git a/cpan/Test-Simple/lib/Test2/Event/Exception.pm b/cpan/Test-Simple/lib/Test2/Event/Exception.pm index 4ef3916736..67c757a3c4 100644 --- a/cpan/Test-Simple/lib/Test2/Event/Exception.pm +++ b/cpan/Test-Simple/lib/Test2/Event/Exception.pm @@ -2,12 +2,17 @@ package Test2::Event::Exception; use strict; use warnings; -our $VERSION = '1.302096'; +our $VERSION = '1.302097'; BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } use Test2::Util::HashBase qw{error}; +sub init { + my $self = shift; + $self->{+ERROR} = "$self->{+ERROR}"; +} + sub causes_fail { 1 } sub summary { @@ -71,6 +76,10 @@ The reason for the exception. =back +=head1 CAVEATS + +Be aware that all exceptions are stringified during construction. + =head1 SOURCE The source code repository for Test2 can be found at diff --git a/cpan/Test-Simple/lib/Test2/Event/Fail.pm b/cpan/Test-Simple/lib/Test2/Event/Fail.pm index f298bc5d93..de34f4b33f 100644 --- a/cpan/Test-Simple/lib/Test2/Event/Fail.pm +++ b/cpan/Test-Simple/lib/Test2/Event/Fail.pm @@ -2,7 +2,7 @@ package Test2::Event::Fail; use strict; use warnings; -our $VERSION = '1.302096'; +our $VERSION = '1.302097'; use Test2::EventFacet::Info; diff --git a/cpan/Test-Simple/lib/Test2/Event/Generic.pm b/cpan/Test-Simple/lib/Test2/Event/Generic.pm index 04611a651c..e92a9f684e 100644 --- a/cpan/Test-Simple/lib/Test2/Event/Generic.pm +++ b/cpan/Test-Simple/lib/Test2/Event/Generic.pm @@ -5,7 +5,7 @@ use warnings; use Carp qw/croak/; use Scalar::Util qw/reftype/; -our $VERSION = '1.302096'; +our $VERSION = '1.302097'; BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } use Test2::Util::HashBase; diff --git a/cpan/Test-Simple/lib/Test2/Event/Note.pm b/cpan/Test-Simple/lib/Test2/Event/Note.pm index 35e4be7a13..f086ad21aa 100644 --- a/cpan/Test-Simple/lib/Test2/Event/Note.pm +++ b/cpan/Test-Simple/lib/Test2/Event/Note.pm @@ -2,7 +2,7 @@ package Test2::Event::Note; use strict; use warnings; -our $VERSION = '1.302096'; +our $VERSION = '1.302097'; BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } diff --git a/cpan/Test-Simple/lib/Test2/Event/Ok.pm b/cpan/Test-Simple/lib/Test2/Event/Ok.pm index 5cc02d24fe..932bd710e5 100644 --- a/cpan/Test-Simple/lib/Test2/Event/Ok.pm +++ b/cpan/Test-Simple/lib/Test2/Event/Ok.pm @@ -2,7 +2,7 @@ package Test2::Event::Ok; use strict; use warnings; -our $VERSION = '1.302096'; +our $VERSION = '1.302097'; BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } diff --git a/cpan/Test-Simple/lib/Test2/Event/Pass.pm b/cpan/Test-Simple/lib/Test2/Event/Pass.pm index a3e91e4f14..c31bba85f5 100644 --- a/cpan/Test-Simple/lib/Test2/Event/Pass.pm +++ b/cpan/Test-Simple/lib/Test2/Event/Pass.pm @@ -2,7 +2,7 @@ package Test2::Event::Pass; use strict; use warnings; -our $VERSION = '1.302096'; +our $VERSION = '1.302097'; use Test2::EventFacet::Info; diff --git a/cpan/Test-Simple/lib/Test2/Event/Plan.pm b/cpan/Test-Simple/lib/Test2/Event/Plan.pm index 3a647a5db4..78ef5c450b 100644 --- a/cpan/Test-Simple/lib/Test2/Event/Plan.pm +++ b/cpan/Test-Simple/lib/Test2/Event/Plan.pm @@ -2,7 +2,7 @@ package Test2::Event::Plan; use strict; use warnings; -our $VERSION = '1.302096'; +our $VERSION = '1.302097'; BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } diff --git a/cpan/Test-Simple/lib/Test2/Event/Skip.pm b/cpan/Test-Simple/lib/Test2/Event/Skip.pm index 69c57192dc..95ea922787 100644 --- a/cpan/Test-Simple/lib/Test2/Event/Skip.pm +++ b/cpan/Test-Simple/lib/Test2/Event/Skip.pm @@ -2,7 +2,7 @@ package Test2::Event::Skip; use strict; use warnings; -our $VERSION = '1.302096'; +our $VERSION = '1.302097'; BEGIN { require Test2::Event::Ok; our @ISA = qw(Test2::Event::Ok) } diff --git a/cpan/Test-Simple/lib/Test2/Event/Subtest.pm b/cpan/Test-Simple/lib/Test2/Event/Subtest.pm index 56c4c0735f..00afbf7940 100644 --- a/cpan/Test-Simple/lib/Test2/Event/Subtest.pm +++ b/cpan/Test-Simple/lib/Test2/Event/Subtest.pm @@ -2,7 +2,7 @@ package Test2::Event::Subtest; use strict; use warnings; -our $VERSION = '1.302096'; +our $VERSION = '1.302097'; BEGIN { require Test2::Event::Ok; our @ISA = qw(Test2::Event::Ok) } use Test2::Util::HashBase qw{subevents buffered subtest_id}; diff --git a/cpan/Test-Simple/lib/Test2/Event/TAP/Version.pm b/cpan/Test-Simple/lib/Test2/Event/TAP/Version.pm index bd539f99e5..67bb6374ed 100644 --- a/cpan/Test-Simple/lib/Test2/Event/TAP/Version.pm +++ b/cpan/Test-Simple/lib/Test2/Event/TAP/Version.pm @@ -2,7 +2,7 @@ package Test2::Event::TAP::Version; use strict; use warnings; -our $VERSION = '1.302096'; +our $VERSION = '1.302097'; use Carp qw/croak/; diff --git a/cpan/Test-Simple/lib/Test2/Event/Waiting.pm b/cpan/Test-Simple/lib/Test2/Event/Waiting.pm index bdf8fdeded..d700c7f06f 100644 --- a/cpan/Test-Simple/lib/Test2/Event/Waiting.pm +++ b/cpan/Test-Simple/lib/Test2/Event/Waiting.pm @@ -2,7 +2,7 @@ package Test2::Event::Waiting; use strict; use warnings; -our $VERSION = '1.302096'; +our $VERSION = '1.302097'; BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) } |