File: defaults.t

package info (click to toggle)
libdatetime-format-oracle-perl 0.06-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 96 kB
  • sloc: perl: 75; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 300 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use strict;
use Test::More tests => 1;

use DateTime::Format::Oracle;

my %tests = (
    nls_date_format => 'YYYY-MM-DD HH24:MI:SS',
);

foreach my $method (keys %tests) {
    local $ENV{uc($method)} = '';
    is(DateTime::Format::Oracle->$method(), $tests{$method}, "default value for $method");
}