mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-06 01:06:43 +08:00
Use latest Quoter::(de)serialize_list() in pt-table-checksum and pt-table-sync. Add more char_chunking.t tests for pt-table-checksum.
This commit is contained in:
@@ -9,7 +9,7 @@ BEGIN {
|
||||
use strict;
|
||||
use warnings FATAL => 'all';
|
||||
use English qw(-no_match_vars);
|
||||
use Test::More tests => 52;
|
||||
use Test::More tests => 54;
|
||||
|
||||
use Quoter;
|
||||
use PerconaTest;
|
||||
@@ -121,6 +121,18 @@ is(
|
||||
"Serialize 3 empty strings",
|
||||
);
|
||||
|
||||
is(
|
||||
$q->serialize_list(undef),
|
||||
undef,
|
||||
"Serialize undef string",
|
||||
);
|
||||
|
||||
is(
|
||||
$q->deserialize_list(undef),
|
||||
undef,
|
||||
"Deserialize undef string",
|
||||
);
|
||||
|
||||
my @serialize_tests = (
|
||||
[ 'a', 'b', ],
|
||||
[ 'a,', 'b', ],
|
||||
|
||||
Reference in New Issue
Block a user