]> git.vpit.fr Git - perl/modules/Hash-Normalize.git/blob - t/01-import.t
This is 0.01
[perl/modules/Hash-Normalize.git] / t / 01-import.t
1 #!perl -T
2
3 use strict;
4 use warnings;
5
6 use Test::More tests => 2 * 2;
7
8 require Hash::Normalize;
9
10 my %syms = (
11  normalize         => '\%;$',
12  get_normalization => '\%',
13 );
14
15 for (sort keys %syms) {
16  eval { Hash::Normalize->import($_) };
17  is $@,            '',        "import $_";
18  is prototype($_), $syms{$_}, "prototype $_";
19 }