X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F010_basics%2F015_metaclass_keyword.t;h=3c07d34302a0fa877b4c483fd09a1957ccb4bc68;hb=f02c03d6b01452536d3e3b189438d73cf16568a2;hp=85eefa5bb8a540a6a261ca962bf0b73eb005f9ae;hpb=07af02bd20f697a4f83a1891af085cc0401b4860;p=gitmo%2FMoose.git diff --git a/t/010_basics/015_metaclass_keyword.t b/t/010_basics/015_metaclass_keyword.t index 85eefa5..3c07d34 100644 --- a/t/010_basics/015_metaclass_keyword.t +++ b/t/010_basics/015_metaclass_keyword.t @@ -1,12 +1,19 @@ #!/usr/bin/perl +use strict; +use warnings; + +use Test::More tests => 2; + +BEGIN { + use_ok('Moose'); +} + { package Foo; - use Test::More tests => 1; use Moose; - is( metaclass(), __PACKAGE__->meta, - 'metaclass and __PACKAGE__->meta are the same' ); + ::is( metaclass(), __PACKAGE__->meta, 'metaclass and __PACKAGE__->meta are the same' ); }