From 6f7910517100d011da85a91a62ec8311856ed4a2 Mon Sep 17 00:00:00 2001 From: Masahiro Nagano Date: Wed, 28 Sep 2016 00:53:29 +0900 Subject: [PATCH] add a test --- t/02_crush.t | 3 +++ 1 file changed, 3 insertions(+) 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, {} ], );