fix test for read only values

This commit is contained in:
opsocket 2022-08-19 18:33:24 -04:00
parent 3d7feb1125
commit 72256c3368

View File

@ -16,8 +16,13 @@ static const json read_only_schema = R"({
int main() {
json_validator validator(read_only_schema);
try {
validator.validate(R"({
"debug": true
})");
return 0;
} catch (const std::exception&e ) {
return EXIT_SUCCESS;
}
return EXIT_FAILURE;
}