Skip to content

Commit f9908a6

Browse files
author
John J. Aylward
committed
adds comment on test case to document why it was added.
1 parent ba6c408 commit f9908a6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/test/java/org/json/junit/JSONObjectTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3081,6 +3081,10 @@ public void testWierdListBean() {
30813081
assertNotNull(jo.get("ALL"));
30823082
}
30833083

3084+
/**
3085+
* Sample test case from https://github.com/stleary/JSON-java/issues/531
3086+
* which verifies that no regression in double/BigDecimal support is present.
3087+
*/
30843088
public void testObjectToBigDecimal() {
30853089
double value = 1412078745.01074;
30863090
Reader reader = new StringReader("[{\"value\": " + value + "}]");

0 commit comments

Comments
 (0)