mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-07 03:06:03 +08:00
adds comment on test case to document why it was added.
This commit is contained in:
@@ -3081,6 +3081,10 @@ public class JSONObjectTest {
|
||||
assertNotNull(jo.get("ALL"));
|
||||
}
|
||||
|
||||
/**
|
||||
* Sample test case from https://github.com/stleary/JSON-java/issues/531
|
||||
* which verifies that no regression in double/BigDecimal support is present.
|
||||
*/
|
||||
public void testObjectToBigDecimal() {
|
||||
double value = 1412078745.01074;
|
||||
Reader reader = new StringReader("[{\"value\": " + value + "}]");
|
||||
|
Reference in New Issue
Block a user