[Rt-commit] rt branch, 3.8.9-releng, updated. rt-3.8.8-240-gd158630
Kevin Falcone
falcone at bestpractical.com
Tue Dec 28 10:57:18 EST 2010
The branch, 3.8.9-releng has been updated
via d158630a2e048ee053a2a25f1fd6515562174c55 (commit)
from ceea9409679cdf5ca4f85213183a92ec95a9e69c (commit)
Summary of changes:
t/web/offline_messages_utf8.t | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit d158630a2e048ee053a2a25f1fd6515562174c55
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Dec 28 13:16:13 2010 +0800
be consistent with 4.0
(cherry picked from commit 4069372f8de3563e0a11bd47be722678bd1c01cf)
diff --git a/t/web/offline_messages_utf8.t b/t/web/offline_messages_utf8.t
index c32e0bc..9901b45 100644
--- a/t/web/offline_messages_utf8.t
+++ b/t/web/offline_messages_utf8.t
@@ -8,7 +8,7 @@ use Encode;
use RT::Ticket;
my ( $url, $m ) = RT::Test->started_ok;
-$m->default_header( 'Accept-Language' => "zh-cn" );
+$m->default_header( 'Accept-Language' => "zh-tw" );
ok( $m->login, 'logged in' );
my $ticket_id;
@@ -38,7 +38,7 @@ EOF
button => 'UpdateTickets',
);
my $content = encode 'utf8', $m->content;
- ok( $content =~ qr/ç³è¯·å #(\d+) æåæ°å¢äº 'General' 表å/, 'message is shown right' );
+ ok( $content =~ m/ç³è«å® #(\d+) æåæ°å¢æ¼ 'General' 表å®/, 'message is shown right' );
$ticket_id = $1;
}
@@ -60,7 +60,7 @@ EOF
my $content = encode 'utf8', $m->content;
ok(
$content =~
-qr/主é¢\s*çå¼ä»\s*'test message'\s*æ¹ä¸º\s*'test message update'/,
+qr/主é¡\s*çå¼å¾\s*'test message'\s*æ¹çº\s*'test message update'/,
'subject is updated'
);
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list