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:
parent
f48b6439f6
commit
b9c6f335ee
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue