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