[libmoosex-has-sugar-perl] 119/120: tidy

Intrigeri intrigeri at moszumanska.debian.org
Wed Aug 27 21:35:16 UTC 2014


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to annotated tag 0.05070422-source
in repository libmoosex-has-sugar-perl.

commit 3088341c54ee34f76debe619ff543083474fbe0d
Author: Kent Fredric <kentfredric at gmail.com>
Date:   Wed Nov 20 20:53:29 2013 +1300

    tidy
---
 t/lib/T10Saccharin/TestPackage.pm    | 1 -
 t/lib/T4Values/BDeclare.pm           | 1 -
 t/lib/T4Values/TestCant.pm           | 4 ++--
 t/lib/T7AttrLazyBuild/TestPackage.pm | 4 ++--
 t/lib/T9Saccharin/TestPackage.pm     | 4 +++-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/t/lib/T10Saccharin/TestPackage.pm b/t/lib/T10Saccharin/TestPackage.pm
index 91ee08c..a11f75b 100644
--- a/t/lib/T10Saccharin/TestPackage.pm
+++ b/t/lib/T10Saccharin/TestPackage.pm
@@ -13,7 +13,6 @@ has roattr => required ro Str;
 
 has rwattr => required rw Str;
 
-
 __PACKAGE__->meta->make_immutable;
 
 1;
diff --git a/t/lib/T4Values/BDeclare.pm b/t/lib/T4Values/BDeclare.pm
index adad727..a71591b 100644
--- a/t/lib/T4Values/BDeclare.pm
+++ b/t/lib/T4Values/BDeclare.pm
@@ -6,7 +6,6 @@ use warnings;
 use MooseX::Has::Sugar;
 use namespace::autoclean;
 
-
 sub generated {
   { isa => 'Str', is => 'ro', required, lazy, lazy_build, coerce, weak_ref, auto_deref };
 }
diff --git a/t/lib/T4Values/TestCant.pm b/t/lib/T4Values/TestCant.pm
index ed57916..c058b79 100644
--- a/t/lib/T4Values/TestCant.pm
+++ b/t/lib/T4Values/TestCant.pm
@@ -34,8 +34,8 @@ sub can_unok($@) {
 
   my @nok = ();
   foreach my $method (@methods) {
-    local ($!,$@);
-    eval { !$proto->can($method) }  or push @nok, $method;
+    local ( $!, $@ );
+    eval { !$proto->can($method) } or push @nok, $method;
   }
 
   my $name =
diff --git a/t/lib/T7AttrLazyBuild/TestPackage.pm b/t/lib/T7AttrLazyBuild/TestPackage.pm
index dd312e2..3ddc5a0 100644
--- a/t/lib/T7AttrLazyBuild/TestPackage.pm
+++ b/t/lib/T7AttrLazyBuild/TestPackage.pm
@@ -13,11 +13,11 @@ has roattr => ( isa => 'Str', is => 'ro', lazy_build, );
 has rwattr => ( isa => 'Str', is => 'rw', lazy_build, );
 
 sub _build_rwattr {
-    return 'y';
+  return 'y';
 }
 
 sub _build_roattr {
-    return 'y';
+  return 'y';
 }
 
 __PACKAGE__->meta->make_immutable;
diff --git a/t/lib/T9Saccharin/TestPackage.pm b/t/lib/T9Saccharin/TestPackage.pm
index 1e5058d..719c59d 100644
--- a/t/lib/T9Saccharin/TestPackage.pm
+++ b/t/lib/T9Saccharin/TestPackage.pm
@@ -30,7 +30,9 @@ sub Gamma {
         return 1;
         }
     },
-    mx => { rw 'Str', default { 1 } },
+    mx => {
+      rw 'Str', default { 1 }
+    },
   };
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmoosex-has-sugar-perl.git



More information about the Pkg-perl-cvs-commits mailing list