Browse Source

test-fix: annotations now carry Property info

Sam Jaffe 3 tuần trước cách đây
mục cha
commit
042a27844b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tests/annotation_test.cxx

+ 1 - 1
tests/annotation_test.cxx

@@ -117,7 +117,7 @@ TEST(Annotation, AttachesAlwaysFalseSensibly) {
   })"_json;
   jvalidate::ValidationResult result = validate(schema, instance);
 
-  EXPECT_THAT(result, ErrorAt("/A"_jptr, "/properties"_jptr, "", "always false"));
+  EXPECT_THAT(result, ErrorAt("/A"_jptr, "/properties/A"_jptr, "", "always false"));
 }
 
 int main(int argc, char ** argv) {