fix test for read only values

This commit is contained in:
opsocket 2022-08-19 19:37:37 -04:00
parent 72256c3368
commit d224111591

View File

@ -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;
}
}