Skip to content

Commit

Permalink
Merge pull request #3 from schwern/master
Browse files Browse the repository at this point in the history
END { done_testing } defeats the point
  • Loading branch information
gaal committed Sep 24, 2011
2 parents 8404761 + 8da5e73 commit 77e8ebb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions t/01-simple.t
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env perl -w
use strict;

use Test::More;
use Test::More 'no_plan';
use Data::Dumper;
use Scalar::Util qw(blessed);

Expand Down Expand Up @@ -330,9 +330,6 @@ require_ok 'Class::Rebless';
Class::Rebless->rebless($obj_1, 'Foo');
}

# in an END{} because there's a previously-registered END{} for
# Test::NoWarnings, potentially -- rjbs, 2011-03-21
END { done_testing; }

sub my_custom_editor {
my ($obj, $namespace) = @_;
Expand Down
2 changes: 1 addition & 1 deletion t/02-complexity.t
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ sub make_struct {
);
}

END { done_testing; }
done_testing;

0 comments on commit 77e8ebb

Please sign in to comment.