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

Fix comment.

This commit is contained in:
Nicholas Cull 2016-07-24 19:57:01 +10:00
parent 1246e12827
commit efe33a1e37

View file

@ -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);