Sam Jaffe преди 1 година
родител
ревизия
27f06a4033
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      tests/annotation_test.cxx

+ 2 - 1
tests/annotation_test.cxx

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