We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bd2191 commit 004a93cCopy full SHA for 004a93c
src/test/java/com/upokecenter/test/CBORObjectTest.java
@@ -2309,6 +2309,9 @@ public void TestToJSONString() {
2309
Assert.assertEquals(
2310
"\"\u2027\\u2028\\u2029\u202a\"" ,
2311
CBORObject.FromObject("\u2027\u2028\u2029\u202a").ToJSONString());
2312
+ Assert.assertEquals(
2313
+ "\"\\u0085\\uFEFF\\uFFFE\\uFFFF\"" ,
2314
+ CBORObject.FromObject("\u0085\ufeff\ufffe\uffff").ToJSONString());
2315
Assert.assertEquals("true", CBORObject.True.ToJSONString());
2316
Assert.assertEquals("false", CBORObject.False.ToJSONString());
2317
Assert.assertEquals("null", CBORObject.Null.ToJSONString());
0 commit comments