Begin writing tests for Mouse::Role
Shawn M Moore [Tue, 17 Jun 2008 02:24:32 +0000 (02:24 +0000)]
t/400-define-role.t [new file with mode: 0644]

diff --git a/t/400-define-role.t b/t/400-define-role.t
new file mode 100644 (file)
index 0000000..b7893ea
--- /dev/null
@@ -0,0 +1,13 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use Test::More tests => 1;
+use Test::Exception;
+
+lives_ok {
+    package Role;
+    use Mouse::Role;
+
+    no Mouse::Role;
+};
+