summaryrefslogtreecommitdiff
path: root/cpan/podlators/t/devise-date.t
blob: 3cce9f5b01d7d6b3f71d9c79990be28b43ff2e81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/perl -w

# In order for MakeMaker to build in the core, nothing can use
# Fcntl which includes POSIX.  devise_date()'s use of strftime()
# was replaced.  This tests that it's identical.

use strict;

use Test::More tests => 1;

use Pod::Man;
use POSIX qw(strftime);

my $parser = Pod::Man->new;
is $parser->devise_date, strftime("%Y-%m-%d", localtime);