File: raw.t

package info (click to toggle)
liblocale-gettext-perl 1.05-7
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 160 kB
  • sloc: perl: 240; makefile: 13
file content (18 lines) | stat: -rw-r--r-- 308 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env perl -w
use strict;
use Test;
BEGIN { plan tests => 1 }
require "test_data/gen_test_data.pl";

gen("foo");
use Locale::gettext;
my $d = Locale::gettext->domain_raw("foo");
$d->dir("test_data");
if ($d->get("No worries") eq "Sans craintes") {
	ok(1);
} else {
	ok(0);
}
undef $d;
exit;
__END__