diff --git a/t/pt-duplicate-key-checker/pt-2282.t b/t/pt-duplicate-key-checker/pt-2282.t index a2230055..d6b37db9 100644 --- a/t/pt-duplicate-key-checker/pt-2282.t +++ b/t/pt-duplicate-key-checker/pt-2282.t @@ -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/赛程类型/,