| 1 | package Test2::Formatter; | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | |||
| 5 | our $VERSION = '1.302073'; | ||
| 6 | |||
| 7 | |||
| 8 | my %ADDED; | ||
| 9 | sub import { | ||
| 10 | my $class = shift; | ||
| 11 | return if $class eq __PACKAGE__; | ||
| 12 | return if $ADDED{$class}++; | ||
| 13 | require Test2::API; | ||
| 14 | Test2::API::test2_formatter_add($class); | ||
| 15 | } | ||
| 16 | |||
| 17 | sub hide_buffered { 1 } | ||
| 18 | |||
| 19 | sub terminate { } | ||
| 20 | |||
| 21 | sub finalize { } | ||
| 22 | |||
| 23 | 1; | ||
| 24 | |||
| 25 | __END__ |