[Moose-commits] r7162 - in Mouse/trunk: . t/800_shikabased
sartak at code2.0beta.co.uk
sartak at code2.0beta.co.uk
Mon Dec 22 04:00:39 GMT 2008
Author: sartak
Date: 2008-12-21 20:00:38 -0800 (Sun, 21 Dec 2008)
New Revision: 7162
Modified:
Mouse/trunk/
Mouse/trunk/t/800_shikabased/008-create_class.t
Log:
r77771 at onn: sartak | 2008-12-21 23:00:31 -0500
Need to specify package names
Property changes on: Mouse/trunk
___________________________________________________________________
Name: svk:merge
- 08e7d58d-de06-4458-8c15-335e402ab116:/local/Mouse:77769
08e7d58d-de06-4458-8c15-335e402ab116:/local/Mouse-trunk:61565
3efe9002-19ed-0310-8735-a98156148065:/Mouse/branches/shika-based:6997
+ 08e7d58d-de06-4458-8c15-335e402ab116:/local/Mouse:77771
08e7d58d-de06-4458-8c15-335e402ab116:/local/Mouse-trunk:61565
3efe9002-19ed-0310-8735-a98156148065:/Mouse/branches/shika-based:6997
Modified: Mouse/trunk/t/800_shikabased/008-create_class.t
===================================================================
--- Mouse/trunk/t/800_shikabased/008-create_class.t 2008-12-22 03:55:23 UTC (rev 7161)
+++ Mouse/trunk/t/800_shikabased/008-create_class.t 2008-12-22 04:00:38 UTC (rev 7162)
@@ -7,6 +7,7 @@
# error handling
throws_ok {
Mouse::Meta::Class->create(
+ "ClassName",
superclasses => "foo"
);
} qr/You must pass an ARRAY ref of superclasses/;
@@ -14,12 +15,14 @@
throws_ok {
Mouse::Meta::Class->create(
+ "ClassName",
attributes => "foo"
);
} qr/You must pass an ARRAY ref of attributes/;
throws_ok {
Mouse::Meta::Class->create(
+ "ClassName",
methods => "foo"
);
} qr/You must pass a HASH ref of methods/;
More information about the Moose-commits
mailing list