mirror of
https://github.com/stleary/JSON-java.git
synced 2026-01-25 00:00:38 -05:00
Fix comment.
This commit is contained in:
@@ -164,7 +164,7 @@ public class JSONStringTest {
|
|||||||
String output = jsonArray.write(writer).toString();
|
String output = jsonArray.write(writer).toString();
|
||||||
assertTrue("String values should be equal", "[\"the toString value\"]".equals(output));
|
assertTrue("String values should be equal", "[\"the toString value\"]".equals(output));
|
||||||
|
|
||||||
// The first different between writeValue() and valueToString():
|
// The only different between writeValue() and valueToString():
|
||||||
// in this case, valueToString throws a JSONException
|
// in this case, valueToString throws a JSONException
|
||||||
try {
|
try {
|
||||||
output = JSONObject.valueToString(jsonString);
|
output = JSONObject.valueToString(jsonString);
|
||||||
|
|||||||
Reference in New Issue
Block a user