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:
Daniel Nichter
2011-12-29 17:25:38 -07:00
parent 1f06ea093a
commit c58dfca1b5
49 changed files with 83 additions and 25400 deletions

View File

@@ -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', ],