use strict;
use warnings;
-use Test::More tests => 17;
+use Test::More;
{
package Foo;
my $meta = Foo->meta;
-foreach my $sym(qw(&code $scalar %hash @array *code *scalar *hash *array)){
+foreach my $sym(qw(&code $scalar %hash @array)){
ok $meta->has_package_symbol($sym), "has_package_symbol('$sym')";
}
is $meta->get_package_symbol('$scalar'), \$Foo::scalar;
is $meta->get_package_symbol('%hash'), \%Foo::hash;
is $meta->get_package_symbol('@array'), \@Foo::array;
-is $meta->get_package_symbol('*code'), \*Foo::code;
-is $meta->get_package_symbol('$hogehoge'), undef;
+is $meta->get_package_symbol('@hogehoge'), undef;
is $meta->get_package_symbol('%array'), undef;
+is $meta->get_package_symbol('&hash'), undef;
+done_testing;
'602-mouse-tiny.t' => "Moose doesn't support ::Tiny",
'603-mouse-pureperl.t'=> "Moose doesn't have ::PurePerl",
- '031_roles_applied_in_create.t' => 't/lib/* classes are not Moose classes/roles',
+ '031_roles_applied_in_create.t' => 't/lib/*.pm are not for Moose',
+ '013_metaclass_traits.t' => 't/lib/*.pm are not for Moose',
);
my @compat_tests;
=head1 DESCRIPTION
-Mouse::Tiny is just Mouse itself, but it is in a single file.
+Mouse::Tiny is Mouse, but it is in a single file.
This is B<not> tiny. In fact, it requires a little more memory and time than Mouse.
Use Mouse directly unless you know what you do.
+=head1 SEE ALSO
+
+L<Mouse>
+
=cut
EOF