Fix Issue552 test
This commit is contained in:
parent
db4bc75cd9
commit
7a9166f362
@ -1164,8 +1164,8 @@ static SchemaDocument ReturnSchemaDocument() {
|
|||||||
TEST(Schema, Issue552) {
|
TEST(Schema, Issue552) {
|
||||||
SchemaDocument s = ReturnSchemaDocument();
|
SchemaDocument s = ReturnSchemaDocument();
|
||||||
VALIDATE(s, "42", true);
|
VALIDATE(s, "42", true);
|
||||||
VALIDATE(s, "\"I'm a string\"", true);
|
VALIDATE(s, "\"Life, the universe, and everything\"", true);
|
||||||
VALIDATE(s, "{ \"an\": [ \"arbitrarily\", \"nested\" ], \"data\": \"structure\" }", true);
|
INVALIDATE(s, "[\"Life\", \"the universe\", \"and everything\"]", "", "type", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // RAPIDJSON_HAS_CXX11_RVALUE_REFS
|
#endif // RAPIDJSON_HAS_CXX11_RVALUE_REFS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user