From: Stevan Little Date: Sat, 4 Feb 2006 04:52:01 +0000 (+0000) Subject: hiding package names and adding test plan X-Git-Tag: 0_06~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=046688ed71ac338d09fad7abdd17833409826113;p=gitmo%2FClass-MOP.git hiding package names and adding test plan --- diff --git a/examples/LazyClass.pod b/examples/LazyClass.pod index e015512..df9e4b5 100644 --- a/examples/LazyClass.pod +++ b/examples/LazyClass.pod @@ -1,5 +1,6 @@ -package LazyClass; +package # hide the package from PAUSE + LazyClass; use strict; use warnings; @@ -27,7 +28,8 @@ sub construct_instance { return $instance; } -package LazyClass::Attribute; +package # hide the package from PAUSE + LazyClass::Attribute; use strict; use warnings; diff --git a/t/106_LazyClass_test.t b/t/106_LazyClass_test.t index 4b63964..8accf69 100644 --- a/t/106_LazyClass_test.t +++ b/t/106_LazyClass_test.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Test::More no_plan => 29; +use Test::More tests => 26; use File::Spec; BEGIN {