diff --git a/t/02_crush.t b/t/02_crush.t index a761962..ee38459 100644 --- a/t/02_crush.t +++ b/t/02_crush.t @@ -27,6 +27,9 @@ my @tests = ( [ 'BADSTART="data;', { BADSTART => '"data' }], [ 'BADEND=data";', { BADEND => 'data"' }], + # disallow "," as a delimiter + [ 'Foo=Bar; Bar=Baz, XXX=Foo%20Bar ; YYY=; ', { Foo => 'Bar', Bar => 'Baz, XXX=Foo Bar',YYY=>"" }], + [ '', {} ], [ undef, {} ], );