another test case
This commit is contained in:
parent
7b7a54aca5
commit
4d23c49601
1 changed files with 5 additions and 0 deletions
|
@ -3912,6 +3912,11 @@ TEST_CASE("deserialization")
|
||||||
ss >> j;
|
ss >> j;
|
||||||
CHECK(j == json({"foo", 1, 2, 3, false, {{"one", 1}}}));
|
CHECK(j == json({"foo", 1, 2, 3, false, {{"one", 1}}}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SECTION("user-defined string literal")
|
||||||
|
{
|
||||||
|
CHECK("[\"foo\",1,2,3,false,{\"one\":1}]"_json == json({"foo", 1, 2, 3, false, {{"one", 1}}}));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue