fixed build
This commit is contained in:
parent
b5a05e1121
commit
e64dc532ab
3 changed files with 4 additions and 4 deletions
test
|
@ -7554,8 +7554,8 @@ TEST_CASE("iterator_wrapper")
|
|||
json j_object = {{"key1", 1}, {"key2", 2}};
|
||||
for (auto it : json::iterator_wrapper(j_object))
|
||||
{
|
||||
CHECK((it.first == "key1" or it.first == "key2"));
|
||||
CHECK((it.key() == "key1" or it.key() == "key2"));
|
||||
CHECK((it.first == json("key1") or it.first == json("key2")));
|
||||
CHECK((it.key() == json("key1") or it.key() == json("key2")));
|
||||
CHECK(it.key() == it.first);
|
||||
|
||||
CHECK((it.second == json(1) or it.second == json(2)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue