1
0
Fork 0
mirror of https://github.com/ethauvin/JSON-java.git synced 2025-06-17 07:50:52 -07:00

fixed comment location

This commit is contained in:
stleary 2015-07-19 09:04:10 -05:00
parent f48b6439f6
commit b9c6f335ee

View file

@ -329,11 +329,11 @@ public class XMLTest {
inputJSON.put("nullValue", JSONObject.NULL);
// This is a possible preferred result
String expectedXML = "<nullValue/>";
String actualXML = "<nullValue>null</nullValue>";
/**
* This is the current behavior. JSONObject.NULL is emitted as
* the string, "null".
*/
String actualXML = "<nullValue>null</nullValue>";
String resultXML = XML.toString(inputJSON);
assertEquals(actualXML, resultXML);
}