We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f48b643 commit b9c6f33Copy full SHA for b9c6f33
1 file changed
XMLTest.java
@@ -329,11 +329,11 @@ public void shouldHandleNullNodeValue()
329
inputJSON.put("nullValue", JSONObject.NULL);
330
// This is a possible preferred result
331
String expectedXML = "<nullValue/>";
332
- String actualXML = "<nullValue>null</nullValue>";
333
/**
334
* This is the current behavior. JSONObject.NULL is emitted as
335
* the string, "null".
336
*/
+ String actualXML = "<nullValue>null</nullValue>";
337
String resultXML = XML.toString(inputJSON);
338
assertEquals(actualXML, resultXML);
339
}
0 commit comments