Ver código fonte

test: naming

Sam Jaffe 1 ano atrás
pai
commit
27f06a4033
1 arquivos alterados com 2 adições e 1 exclusões
  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;