another test case

This commit is contained in:
Niels 2015-02-11 13:25:04 +01:00
parent 7b7a54aca5
commit 4d23c49601

View file

@ -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}}}));
}
} }