File: no-smart-comments.t

package info (click to toggle)
libmoosex-attributeshortcuts-perl 0.037-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 448 kB
  • sloc: perl: 691; makefile: 2
file content (62 lines) | stat: -rw-r--r-- 2,558 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env perl
#
# This file is part of MooseX-AttributeShortcuts
#
# This software is Copyright (c) 2017, 2015, 2014, 2013, 2012, 2011 by Chris Weyl.
#
# This is free software, licensed under:
#
#   The GNU Lesser General Public License, Version 2.1, February 1999
#

use strict;
use warnings;

use Test::More 0.88;

eval "use Test::NoSmartComments";
plan skip_all => 'Test::NoSmartComments required for checking comment IQ'
    if $@;

no_smart_comments_in("lib/MooseX/AttributeShortcuts.pm");
no_smart_comments_in("lib/MooseX/AttributeShortcuts/Trait/Attribute.pm");
no_smart_comments_in("lib/MooseX/AttributeShortcuts/Trait/Attribute/HasAnonBuilder.pm");
no_smart_comments_in("lib/MooseX/AttributeShortcuts/Trait/Method/Builder.pm");
no_smart_comments_in("lib/MooseX/AttributeShortcuts/Trait/Method/HasDefinitionContext.pm");
no_smart_comments_in("lib/MooseX/AttributeShortcuts/Trait/Role/Attribute.pm");
no_smart_comments_in("lib/MooseX/AttributeShortcuts/Trait/Role/Method/Builder.pm");
no_smart_comments_in("t/00-compile.t");
no_smart_comments_in("t/00-report-prereqs.dd");
no_smart_comments_in("t/00-report-prereqs.t");
no_smart_comments_in("t/02-parameterized.t");
no_smart_comments_in("t/03-lazy.t");
no_smart_comments_in("t/05-extend.t");
no_smart_comments_in("t/06-role.t");
no_smart_comments_in("t/builder/basic.t");
no_smart_comments_in("t/builder/inline-builder-conflict-toclass.t");
no_smart_comments_in("t/builder/inline-builder-conflict-torole.t");
no_smart_comments_in("t/builder/inline-definition-context.t");
no_smart_comments_in("t/builder/inline-role-role-class.t");
no_smart_comments_in("t/builder/inline.t");
no_smart_comments_in("t/clearer.t");
no_smart_comments_in("t/constraint.t");
no_smart_comments_in("t/funcs.pm");
no_smart_comments_in("t/handles/coderef-class.t");
no_smart_comments_in("t/handles/coderef.t");
no_smart_comments_in("t/handles/metaclass.t");
no_smart_comments_in("t/init_arg.t");
no_smart_comments_in("t/inline_subtyping/basic.t");
no_smart_comments_in("t/inline_subtyping/coercion.t");
no_smart_comments_in("t/inline_subtyping/with_coercion.t");
no_smart_comments_in("t/is/rwp.t");
no_smart_comments_in("t/isa/mooish.t");
no_smart_comments_in("t/isa_instance_of.t");
no_smart_comments_in("t/metaclasses.t");
no_smart_comments_in("t/old/01-basic.t");
no_smart_comments_in("t/old/04-clearer-and-predicate.t");
no_smart_comments_in("t/old/07-trigger.t");
no_smart_comments_in("t/others/semiaffordanceaccessor.t");
no_smart_comments_in("t/predicate.t");
no_smart_comments_in("t/trigger.t");

done_testing();