File: be-tarask.t

package info (click to toggle)
libdatetime-locale-perl 1%3A1.37-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 19,856 kB
  • sloc: perl: 225,932; sh: 23; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 467 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
use strict;
use warnings;
use utf8;

use Test2::V0;
use Test::File::ShareDir::Dist { 'DateTime-Locale' => 'share' };

use DateTime::Locale;

{
    my $locale = DateTime::Locale->load('Belarusian');
    is( $locale->code, 'be', ' Belarusian name loads be locale' );
}

{
    my $locale = DateTime::Locale->load('be-tarask');
    is(
        $locale->name,
        'Belarusian Taraskievica orthography',
        ' be-tarask has correct name',
    );
}

done_testing();