[libdist-zilla-role-bootstrap-perl] 03/07: Basic test
Axel Beckert
abe at deuxchevaux.org
Sat Aug 8 11:58:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to annotated tag 0.1.0-source
in repository libdist-zilla-role-bootstrap-perl.
commit fc27fbe174c2e62e7080e8a442d54aa44eaa001b
Author: Kent Fredric <kentfredric at gmail.com>
Date: Wed Sep 4 21:18:50 2013 +1200
Basic test
---
t/01-basic.t | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/t/01-basic.t b/t/01-basic.t
new file mode 100644
index 0000000..7fe05a2
--- /dev/null
+++ b/t/01-basic.t
@@ -0,0 +1,23 @@
+
+use strict;
+use warnings;
+
+use Test::More;
+
+{
+ package Example;
+ use Moose;
+ with 'Dist::Zilla::Role::Bootstrap';
+
+ sub bootstrap {
+ 1;
+ }
+
+ __PACKAGE__->meta->make_immutable;
+ 1;
+}
+
+pass("Role Composition Check Ok");
+ok( Example->bootstrap , 'invoke basic method on composed class');
+
+done_testing;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-role-bootstrap-perl.git
More information about the Pkg-perl-cvs-commits
mailing list