projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix test warning
[gitmo/Moose.git]
/
t
/
100_bugs
/
010_immutable_n_default_x2.t
diff --git
a/t/100_bugs/010_immutable_n_default_x2.t
b/t/100_bugs/010_immutable_n_default_x2.t
index
e5d3b19
..
b25f908
100644
(file)
--- a/
t/100_bugs/010_immutable_n_default_x2.t
+++ b/
t/100_bugs/010_immutable_n_default_x2.t
@@
-3,11
+3,8
@@
use strict;
use warnings;
-use Test::More tests => 3;
+use Test::More;
-BEGIN {
- use_ok('Moose');
-}
{
package Foo;
@@
-40,3
+37,5
@@
is($Foo::foo_default_called, 1, "foo default was only called once during constru
$foo->bar();
is($Foo::bar_default_called, 1, "bar default was only called once when lazy attribute is accessed");
+
+done_testing;