Browse Source

test: naming

Sam Jaffe 1 năm trước cách đây
mục cha
commit
27f06a4033
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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;