Skip to content

Commit d4c4aa4

Browse files
committed
update Java version
1 parent 8d6b813 commit d4c4aa4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/test/java/com/upokecenter/test/CBORObjectTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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\u005b0]=h&g\u005b1]=j&g\u005b2]\u005b";
9893+
test += "a]=k&g\u005b2]\u005bb]=m";
98939894
CBORObject cbor =
98949895
CBORObject.FromObject(QueryStringHelper.QueryStringToDict(test));
98959896
System.out.println(cbor.ToJSONString());

0 commit comments

Comments
 (0)