Commit 7a9166f3 authored by Milo Yip's avatar Milo Yip

Fix Issue552 test

parent db4bc75c
......@@ -1164,8 +1164,8 @@ static SchemaDocument ReturnSchemaDocument() {
TEST(Schema, Issue552) {
SchemaDocument s = ReturnSchemaDocument();
VALIDATE(s, "42", true);
VALIDATE(s, "\"I'm a string\"", true);
VALIDATE(s, "{ \"an\": [ \"arbitrarily\", \"nested\" ], \"data\": \"structure\" }", true);
VALIDATE(s, "\"Life, the universe, and everything\"", true);
INVALIDATE(s, "[\"Life\", \"the universe\", \"and everything\"]", "", "type", "");
}
#endif // RAPIDJSON_HAS_CXX11_RVALUE_REFS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment