[Moose-commits] r7758 - Class-MOP/trunk/t
autarch at code2.0beta.co.uk
autarch at code2.0beta.co.uk
Fri Feb 20 20:03:21 GMT 2009
Author: autarch
Date: 2009-02-20 12:03:21 -0800 (Fri, 20 Feb 2009)
New Revision: 7758
Modified:
Class-MOP/trunk/t/084_get_method_map.t
Log:
Tweak code to be more consistent
Modified: Class-MOP/trunk/t/084_get_method_map.t
===================================================================
--- Class-MOP/trunk/t/084_get_method_map.t 2009-02-20 19:35:08 UTC (rev 7757)
+++ Class-MOP/trunk/t/084_get_method_map.t 2009-02-20 20:03:21 UTC (rev 7758)
@@ -26,6 +26,7 @@
{
my $map = Foo->meta->get_method_map;
+
is( scalar keys %{$map}, 3,
'method map for Foo has three keys' );
ok( $map->{foo}, '... has a foo method in the map' );
@@ -40,6 +41,7 @@
{
my $map = Foo->meta->get_method_map;
+
is( scalar keys %{$map}, 3,
'method map for Foo has three keys' );
ok( $map->{foo}, '... has a foo method in the map' );
More information about the Moose-commits
mailing list