From 7a9166f3628b29341d9f280113847ad698b60ad7 Mon Sep 17 00:00:00 2001 From: Milo Yip Date: Sat, 20 Feb 2016 22:40:36 +0800 Subject: [PATCH] Fix Issue552 test --- test/unittest/schematest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unittest/schematest.cpp b/test/unittest/schematest.cpp index dd67920..7182ad2 100644 --- a/test/unittest/schematest.cpp +++ b/test/unittest/schematest.cpp @@ -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