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:
Sveta Smirnova
2024-03-22 03:21:24 +03:00
parent 595a3d261c
commit f95ebca732

View File

@@ -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/赛程类型/,