From: Shawn M Moore Date: Sun, 9 Nov 2008 02:44:26 +0000 (+0000) Subject: Add an empty Parameters class and a basic test for it.. X-Git-Tag: 0.05~113 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=665e848bc48cecd72942f921ea3b8cfe12f7b17a;p=gitmo%2FMooseX-Role-Parameterized.git Add an empty Parameters class and a basic test for it.. --- diff --git a/lib/MooseX/Role/Parameterized/Parameters.pm b/lib/MooseX/Role/Parameterized/Parameters.pm new file mode 100644 index 0000000..978fda4 --- /dev/null +++ b/lib/MooseX/Role/Parameterized/Parameters.pm @@ -0,0 +1,9 @@ +#!/usr/bin/env perl +package MooseX::Role::Parameterized::Parameters; +use Moose; + +__PACKAGE__->meta->make_immutable; +no Moose; + +1; + diff --git a/t/001-parameters.t b/t/001-parameters.t new file mode 100644 index 0000000..ca86744 --- /dev/null +++ b/t/001-parameters.t @@ -0,0 +1,9 @@ +#!/usr/bin/env perl +use strict; +use warnings; +use Test::More tests => 1; +use MooseX::Role::Parameterized::Parameters; + +my $p = MooseX::Role::Parameterized::Parameters->new; +can_ok($p => 'meta'); +