File: t-clean.t

package info (click to toggle)
libspecio-perl 0.50-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 900 kB
  • sloc: perl: 5,165; sh: 23; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 260 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
use warnings;

use Test::Needs 'namespace::autoclean';

use Test::More 0.96;

{
    package Foo;
    use namespace::autoclean;
    use Specio::Library::Builtins;
}

ok( !Foo->can('t'), 't sub is cleaned by namespace::autoclean' );

done_testing();