We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3dcf11 commit 263d63dCopy full SHA for 263d63d
lib/TAP/Formatter/Base.pm
@@ -419,9 +419,7 @@ sub _summary_test_header {
419
}
420
421
sub _output {
422
- my $self = shift;
423
-
424
- print { $self->stdout } @_;
+ print { shift->stdout } @_;
425
426
427
sub _failure_output {
lib/TAP/Object.pm
@@ -50,9 +50,7 @@ L</_initialize> method. Returns a new object.
50
=cut
51
52
sub new {
53
- my $class = shift;
54
- my $self = bless {}, $class;
55
- return $self->_initialize(@_);
+ return bless({}, shift)->_initialize(@_);
56
57
58
=head2 Instance Methods
0 commit comments