summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/MooseX/Attribute/Shorthand.pm1
-rw-r--r--t/000-load.t1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/MooseX/Attribute/Shorthand.pm b/lib/MooseX/Attribute/Shorthand.pm
index e8a10bf..a5821c7 100644
--- a/lib/MooseX/Attribute/Shorthand.pm
+++ b/lib/MooseX/Attribute/Shorthand.pm
@@ -2,6 +2,7 @@ package MooseX::Attribute::Shorthand;
use strict;
use warnings;
+use Moose ();
use Scalar::Util qw(reftype);
=head1 NAME
diff --git a/t/000-load.t b/t/000-load.t
index e9f479f..cffc9cb 100644
--- a/t/000-load.t
+++ b/t/000-load.t
@@ -4,5 +4,6 @@ use warnings;
use Test::More tests => 1;
package Foo;
+use Moose;
::use_ok('MooseX::Attribute::Shorthand')
or ::BAIL_OUT("couldn't load MooseX::Attribute::Shorthand");