mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 08:46:53 +08:00
- fix issue #334, where negative numbers loaded from JSON were being parsed as 0. - add unit tests to cover these cases.
3 lines
47 B
ChaiScript
3 lines
47 B
ChaiScript
assert_equal(from_json("[1,-2,3]"), [1,-2,3])
|
|
|