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 +}