diff options
| author | fukachan <fukachan> | 2018-01-13 08:48:42 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2018-01-13 08:48:42 +0000 |
| commit | 28a388f6aeced7f8dd585a84bde0f0ddf0bb7a69 (patch) | |
| tree | 7fbe3b9fc9209113e15e00fbdf9663ff1f16190d /cpan/dist/PathTools/t/Functions.t | |
| parent | dbab3c94592a2f0ef40175cf39cf89fbe5503c41 (diff) | |
| download | fml8-PathTools-3-62.tar.gz fml8-PathTools-3-62.tar.bz2 fml8-PathTools-3-62.zip | |
import PathTools-3.62PathTools-3-62
Diffstat (limited to 'cpan/dist/PathTools/t/Functions.t')
| -rw-r--r-- | cpan/dist/PathTools/t/Functions.t | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/cpan/dist/PathTools/t/Functions.t b/cpan/dist/PathTools/t/Functions.t new file mode 100644 index 00000000..122c529a --- /dev/null +++ b/cpan/dist/PathTools/t/Functions.t @@ -0,0 +1,19 @@ +#!/usr/bin/perl -w + +use Test::More tests => 15; +BEGIN {use_ok('File::Spec::Functions', ':ALL');} + +is(canonpath('a/b/c'), File::Spec->canonpath('a/b/c')); +is(case_tolerant(), File::Spec->case_tolerant()); +is(catdir(), File::Spec->catdir()); +is(catdir('a'), File::Spec->catdir('a')); +is(catdir('a','b'), File::Spec->catdir('a','b')); +is(catdir('a','b','c'), File::Spec->catdir('a','b','c')); +is(catfile(), File::Spec->catfile()); +is(catfile('a'), File::Spec->catfile('a')); +is(catfile('a','b'), File::Spec->catfile('a','b')); +is(catfile('a','b','c'), File::Spec->catfile('a','b','c')); +is(curdir(), File::Spec->curdir()); +is(devnull(), File::Spec->devnull()); +is(rootdir(), File::Spec->rootdir()); +is(updir(), File::Spec->updir()); |
