Fixing a utf8 issue with the translator tests
authorChris Cormack <chrisc@catalyst.net.nz>
Sat, 5 Mar 2011 19:05:40 +0000 (08:05 +1300)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 5 Mar 2011 19:05:40 +0000 (08:05 +1300)
xt/author/translatable-templates.t

index 1a54a96..0c2e477 100644 (file)
@@ -17,6 +17,7 @@ use File::Temp qw/tempdir/;
 use IPC::Open3;
 use File::Spec;
 use Symbol qw(gensym);
+use utf8;
 
 my $po_dir = tempdir(CLEANUP => 1);
 
@@ -38,7 +39,7 @@ sub test_string_extraction {
     while (<PH>) {
         # ignore some noise on STDERR
         next if /^\.* done\.$/;
-       next if /^\.* termin\?\.$/;
+       next if /^\.* terminé\.$/;
         next if /^Warning: Can't determine original templates' charset/;
         next if /^Warning: Charset Out defaulting to/;
         next if /^Removing empty file /;