瀏覽代碼

test-fix: annotations now carry Property info

Sam Jaffe 3 周之前
父節點
當前提交
042a27844b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {