From d224111591e4f8481980cc6486c2f7563e8c981c Mon Sep 17 00:00:00 2001 From: opsocket Date: Fri, 19 Aug 2022 19:37:37 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20fix=20test=20for=20read=20only=20va?= =?UTF-8?q?lues?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/read-only-values.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/read-only-values.cpp b/test/read-only-values.cpp index 225c5f4..4f3c28c 100644 --- a/test/read-only-values.cpp +++ b/test/read-only-values.cpp @@ -12,17 +12,17 @@ static const json read_only_schema = R"({ "readOnly": true } } -})"; +})"_json; int main() { json_validator validator(read_only_schema); try { validator.validate(R"({ "debug": true - })"); + })"_json); } catch (const std::exception&e ) { return EXIT_SUCCESS; } return EXIT_FAILURE; -} \ No newline at end of file +}