mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-26 18:51:04 +08:00
fix compile warnning using cmake (#1132)
This commit is contained in:
parent
6bc55ec35d
commit
6317f9a406
@ -3309,15 +3309,15 @@ JSONTEST_FIXTURE_LOCAL(CharReaderAllowDropNullTest, issue178) {
|
||||
{__LINE__, R"({"a":,"b":true})", 2, objGetAnd("a", checkEq(nullValue))},
|
||||
{__LINE__, R"({"a":})", 1, objGetAnd("a", checkEq(nullValue))},
|
||||
{__LINE__, "[]", 0, checkEq(emptyArray)},
|
||||
{__LINE__, "[null]", 1},
|
||||
{__LINE__, "[,]", 2},
|
||||
{__LINE__, "[,,,]", 4},
|
||||
{__LINE__, "[null,]", 2},
|
||||
{__LINE__, "[,null]", 2},
|
||||
{__LINE__, "[,,]", 3},
|
||||
{__LINE__, "[null,,]", 3},
|
||||
{__LINE__, "[,null,]", 3},
|
||||
{__LINE__, "[,,null]", 3},
|
||||
{__LINE__, "[null]", 1, nullptr},
|
||||
{__LINE__, "[,]", 2, nullptr},
|
||||
{__LINE__, "[,,,]", 4, nullptr},
|
||||
{__LINE__, "[null,]", 2, nullptr},
|
||||
{__LINE__, "[,null]", 2, nullptr},
|
||||
{__LINE__, "[,,]", 3, nullptr},
|
||||
{__LINE__, "[null,,]", 3, nullptr},
|
||||
{__LINE__, "[,null,]", 3, nullptr},
|
||||
{__LINE__, "[,,null]", 3, nullptr},
|
||||
{__LINE__, "[[],,,]", 4, arrGetAnd(0, checkEq(emptyArray))},
|
||||
{__LINE__, "[,[],,]", 4, arrGetAnd(1, checkEq(emptyArray))},
|
||||
{__LINE__, "[,,,[]]", 4, arrGetAnd(3, checkEq(emptyArray))},
|
||||
|
Loading…
x
Reference in New Issue
Block a user