File: namespaces_clean.t

package info (click to toggle)
boxer 1.4.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,236 kB
  • sloc: perl: 2,063; sh: 22; makefile: 5
file content (23 lines) | stat: -rw-r--r-- 400 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/perl

use v5.14;
use utf8;

use Test::More;
use Test::CleanNamespaces;

use strictures 2;
no warnings "experimental::signatures";

my @modules = Test::CleanNamespaces->find_modules;

#all_namespaces_clean;
namespaces_clean grep { $_ ne 'Boxer::Types' } @modules;

TODO: {
	local $TODO = 'uncertain how to clean or if a false positive';

	namespaces_clean 'Boxer::Types';
}

done_testing()