File: 08dash-in-name.t

package info (click to toggle)
libdatetime-locale-perl 1%3A0.45-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 7,816 kB
  • ctags: 8,274
  • sloc: xml: 22,344; perl: 1,565; makefile: 9
file content (12 lines) | stat: -rw-r--r-- 219 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
use strict;
use warnings;

use Test::More tests => 2;

use DateTime::Locale;

my $locale = DateTime::Locale->load('en-US');

ok( $locale, 'loaded locale with dash in name' );
is( $locale->id, 'en_US', 'id is en_US' );