File: 007_deprecated.t

package info (click to toggle)
libmoosex-params-validate-perl 0.21-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 324 kB
  • sloc: perl: 511; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 390 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
## no critic (Moose::RequireCleanNamespace, Modules::ProhibitMultiplePackages, Moose::RequireMakeImmutable)
use strict;
use warnings;

use Test::More;

{
    package Foo;

    use Moose;
    use MooseX::Params::Validate qw( :deprecated );
}

ok( Foo->can('validate'),  ':deprecated tag exports validate' );
ok( Foo->can('validatep'), ':deprecated tag exports validatep' );

done_testing();