4 BEGIN { plan tests => 4; }
6 print "# Hi there...\n";
9 print "# --- Making sure that Perl globals are localized ---\n";
14 @ISA = ('Locale::Maketext');
18 keys %Lexicon; # dodges the 'used only once' warning
22 print "# Basic sanity:\n";
23 ok defined( $lh = Woozle->new() ) && ref($lh);
25 print "# Make sure \$@ is localized...\n";
27 ok $lh && $lh->maketext('Eval error: [_1]', $@), "Eval error: foo";