mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 13:11:32 +00:00
PT-2282 - pt-duplicate-key-checker give a "Wide character in print" warning
- Two more checks for the test case
This commit is contained in:
@@ -23,7 +23,7 @@ if ( !$dbh ) {
|
||||
plan skip_all => 'Cannot connect to sandbox master';
|
||||
}
|
||||
else {
|
||||
plan tests => 3;
|
||||
plan tests => 5;
|
||||
}
|
||||
|
||||
my $output;
|
||||
@@ -44,6 +44,18 @@ unlike(
|
||||
'No "Wide character in print at" error'
|
||||
);
|
||||
|
||||
like(
|
||||
$output,
|
||||
qr/Total Duplicate Indexes 2/,
|
||||
'Number of duplicate indexes reported is correct'
|
||||
);
|
||||
|
||||
like(
|
||||
$output,
|
||||
qr/Total Indexes 7/,
|
||||
'Number of indexes reported is correct'
|
||||
);
|
||||
|
||||
like(
|
||||
$output,
|
||||
qr/赛程类型/,
|
||||
|
Reference in New Issue
Block a user