@@ -22,7 +22,7 @@ public class CBORObjectTest {
2222 "[tr]" , "[fa]" ,
2323 "[nu]" , "[True]" , "[False]" , "[Null]" , "[TRUE]" , "[FALSE]" , "[NULL]" ,
2424 "[truE]" , "[falsE]" ,
25- "[nulL]" , "[tRUE]" , "[fALSE]" , "[nULL]" ,"[tRuE]" ,"[fAlSe]" ,"[nUlL]" ,
25+ "[nulL]" , "[tRUE]" , "[fALSE]" , "[nULL]" , "[tRuE]" , "[fAlSe]" , "[nUlL]" ,
2626 "fa " , "nu " , "fa lse" , "nu ll" , "tr ue" ,
2727 "[\" \ud800 \\ udc00\" ]" , "[\" \\ ud800\udc00 \" ]" ,
2828 "[\" \\ udc00\ud800 \udc00 \" ]" , "[\" \\ ud800\ud800 \udc00 \" ]" ,
@@ -9889,7 +9889,8 @@ private static String RandomQueryStringLike(IRandomGenExtended irg) {
98899889 @ Test
98909890 public void TestQueryStrings () {
98919891 // TODO: Add utility to create query strings
9892- String test = "a=b&c=d&e=f&g.set(0,h&g.get(1)=j&g.get(2)[a]=k&g.get(2)[b]=m" );
9892+ String test = "a=b&c=d&e=f&g\u005b 0]=h&g\u005b 1]=j&g\u005b 2]\u005b " ;
9893+ test += "a]=k&g\u005b 2]\u005b b]=m" ;
98939894 CBORObject cbor =
98949895CBORObject .FromObject (QueryStringHelper .QueryStringToDict (test ));
98959896 System .out .println (cbor .ToJSONString ());
0 commit comments