File: bind.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 (16 lines) | stat: -rw-r--r-- 296 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env perl -w
use strict;
use Test;
BEGIN { plan tests => 1 }

use Locale::gettext;
bindtextdomain("foo", "dirname");
if ((bindtextdomain("foo") eq 'dirname') &&
	(bindtextdomain("foo") eq 'dirname')) {
		ok(1);
} else {
print "[", bindtextdomain("foo"), "]\n";
		ok(0);
}
exit;
__END__