File: 05options.t

package info (click to toggle)
libintl-perl 1.35-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,736 kB
  • sloc: perl: 156,232; makefile: 113; sh: 3
file content (38 lines) | stat: -rw-r--r-- 690 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#! /usr/local/bin/perl -w

# vim: syntax=perl
# vim: tabstop=4

use strict;

use Test;

use constant NUM_TESTS => 3;

require Locale::TextDomain;

BEGIN {
	plan tests => NUM_TESTS;
}

my $keywords = Locale::TextDomain->keywords;
ok length $keywords;
my $flags = Locale::TextDomain->flags;
ok length $flags;
my $options = Locale::TextDomain->options;
ok length $options == (length $keywords) + (length $flags) + 1;

__END__

Local Variables:
mode: perl
perl-indent-level: 4
perl-continued-statement-offset: 4
perl-continued-brace-offset: 0
perl-brace-offset: -4
perl-brace-imaginary-offset: 0
perl-label-offset: -4
cperl-indent-level: 4
cperl-continued-statement-offset: 2
tab-width: 4
End: