[libmoox-late-perl] 11/11: tidying, etc
Intrigeri
intrigeri at moszumanska.debian.org
Thu Aug 14 11:13:47 UTC 2014
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to tag 0.012
in repository libmoox-late-perl.
commit d30f8ff2bc3fcf858cb2c60a4bf21f3aa4e0d5fd
Author: Toby Inkster <mail at tobyinkster.co.uk>
Date: Fri Jun 28 12:42:45 2013 +0100
tidying, etc
---
lib/MooX/late.pm | 8 +++++++-
t/05haveimissedanytypes.t | 4 ++--
xt/02pod_coverage.config | 1 +
xt/07spelling.t | 3 +++
4 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/lib/MooX/late.pm b/lib/MooX/late.pm
index de16770..bb43db3 100644
--- a/lib/MooX/late.pm
+++ b/lib/MooX/late.pm
@@ -153,6 +153,12 @@ sub _process_lazy_build
__END__
+=pod
+
+=encoding utf8
+
+=for stopwords superset MooX
+
=head1 NAME
MooX::late - easily translate Moose code to Moo
@@ -235,7 +241,7 @@ Type constraint strings are interpreted using L<Type::Parser>, using the
type constraints defined in L<Types::Standard>. This provides a very slight
superset of Moose's type constraint syntax and built-in type constraints.
-Any unrecognised string that looks like it might be a class name is
+Any unrecognized string that looks like it might be a class name is
interpreted as a class type constraint.
=head1 BUGS
diff --git a/t/05haveimissedanytypes.t b/t/05haveimissedanytypes.t
index c1888ff..53c5d20 100644
--- a/t/05haveimissedanytypes.t
+++ b/t/05haveimissedanytypes.t
@@ -80,14 +80,14 @@ sub constraint_for
for my $type (@types_to_check)
{
- my $got = constraint_for($type);
+ my $got = constraint_for($type);
isa_ok($got, "Type::Tiny", "constraint_for('$type')");
is("$got", "$type", "Type constraint returned for '$type' looks right.");
}
for my $type (@class_types_to_check)
{
- my $got = constraint_for($type);
+ my $got = constraint_for($type);
isa_ok($got, "Type::Tiny::Class", "constraint_for('$type')");
is($got->class, $type, "Type constraint returned for '$type' looks right.");
}
diff --git a/xt/02pod_coverage.config b/xt/02pod_coverage.config
new file mode 100644
index 0000000..e916c99
--- /dev/null
+++ b/xt/02pod_coverage.config
@@ -0,0 +1 @@
+{"modules":["MooX::late"]}
diff --git a/xt/07spelling.t b/xt/07spelling.t
new file mode 100644
index 0000000..c091c73
--- /dev/null
+++ b/xt/07spelling.t
@@ -0,0 +1,3 @@
+use Test::Spellunker;
+load_dictionary("$ENV{HOME}/perl5/stopwords.txt");
+all_pod_files_spelling_ok();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmoox-late-perl.git
More information about the Pkg-perl-cvs-commits
mailing list