|
|
@@ -110,8 +110,9 @@ TEST(Annotation, NotSchemaFlipsAnnotationRule) {
|
|
|
EXPECT_THAT(result, AnnotationAt(""_jptr, "/not/minimum"_jptr, "6 >= 5"));
|
|
|
}
|
|
|
|
|
|
-TEST(Annotation, PathFollowsSchemaNotObject) {
|
|
|
+TEST(Annotation, PathFollowsSchemaNotConstraintModel) {
|
|
|
auto const schema = R"({
|
|
|
+ "$comment": "disallow is implemented in the form of NotConstraint[TypeConstraint]",
|
|
|
"disallow": "string"
|
|
|
})"_json;
|
|
|
|