Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test for new introduced JSONArray(int) constructor.
Link: stleary/JSON-java#516 1. Checked with input parameter: 0 2. Checked with input parameter: positive number 3. Checked with input parameter: negative number If input parameter is negative number JSONException is thrown: JSONArray initial capacity cannot be negative.
- Loading branch information