Skip to content

Commit

Permalink
drop funcs.pm in favor of TAP::SimpleOutput
Browse files Browse the repository at this point in the history
Same code, fewer places to mess it up :)
  • Loading branch information
rsrchboy committed Oct 3, 2012
1 parent 142bcd8 commit ac0332c
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 26 deletions.
2 changes: 1 addition & 1 deletion t/does_not_ok.t
Expand Up @@ -14,7 +14,7 @@ use Test::Builder::Tester;
use Test::More;
use Test::Moose::More;

require 't/funcs.pm' unless eval { require funcs };
use TAP::SimpleOutput 'counters';

my $ROLE = 'TestRole::Role';
my @ROLES = qw{ TestRole::Role TestRole::Role2 };
Expand Down
2 changes: 1 addition & 1 deletion t/does_ok.t
Expand Up @@ -17,7 +17,7 @@ use Test::Builder::Tester;
use Test::More;
use Test::Moose::More;

require 't/funcs.pm' unless eval { require funcs };
use TAP::SimpleOutput 'counters';

my $ROLE = 'TestRole::Role';
my @ROLES = qw{ TestRole::Role TestRole::Role2 };
Expand Down
20 changes: 0 additions & 20 deletions t/funcs.pm

This file was deleted.

2 changes: 1 addition & 1 deletion t/has_attribute_ok.t
Expand Up @@ -12,7 +12,7 @@ use Test::More;
use Test::Moose::More;
use Scalar::Util 'blessed';

require 't/funcs.pm' unless eval { require funcs };
use TAP::SimpleOutput 'counters';

my @THINGS = (TestClass->new(), qw{ TestClass TestRole });
my @FAILS = (qw{ TestClass::Fail TestRole::Fail });
Expand Down
2 changes: 1 addition & 1 deletion t/meta_ok.t
Expand Up @@ -18,7 +18,7 @@ use Test::Builder::Tester; # tests => 1;
use Test::More;
use Test::Moose::More;

require 't/funcs.pm' unless eval { require funcs };
use TAP::SimpleOutput 'counters';

my $ROLE = 'TestRole::Role';

Expand Down
2 changes: 1 addition & 1 deletion t/validate_class.t
Expand Up @@ -38,7 +38,7 @@ use Test::Builder::Tester; # tests => 1;
use Test::More;
use Test::Moose::More;

require 't/funcs.pm' unless eval { require funcs };
use TAP::SimpleOutput 'counters';

note 'validate w/valid class';
{
Expand Down
2 changes: 1 addition & 1 deletion t/validate_role.t
Expand Up @@ -40,7 +40,7 @@ use Test::Builder::Tester; # tests => 1;
use Test::More;
use Test::Moose::More;

require 't/funcs.pm' unless eval { require funcs };
use TAP::SimpleOutput 'counters';

note 'validate w/valid role';
{
Expand Down

0 comments on commit ac0332c

Please sign in to comment.