persing minus sign and exponents for numeric values
This commit is contained in:
@@ -13,10 +13,25 @@ static const struct {
|
||||
TEST("null"),
|
||||
TEST("true"),
|
||||
TEST("false"),
|
||||
|
||||
TEST("1"),
|
||||
TEST("100"),
|
||||
TEST("-1"),
|
||||
TEST("-100"),
|
||||
TEST("1.0"),
|
||||
TEST("100.111"),
|
||||
TEST("-1.0"),
|
||||
TEST("-100.111"),
|
||||
|
||||
TEST("1e1"),
|
||||
TEST("100e1"),
|
||||
TEST("-1e1"),
|
||||
TEST("-100e1"),
|
||||
TEST("1.0e1"),
|
||||
TEST("100.111e1"),
|
||||
TEST("-1.0e1"),
|
||||
TEST("-100.111e10"),
|
||||
|
||||
TEST("[]"),
|
||||
TEST("[1, 2, 3]"),
|
||||
TEST("{}"),
|
||||
|
||||
Reference in New Issue
Block a user