Add field name to assertion in annotation clone test

This commit is contained in:
Dan Stillman 2021-03-23 03:19:19 -04:00
parent 45968375d8
commit 8c341f2e26

View file

@ -1733,7 +1733,7 @@ describe("Zotero.Item", function () {
.filter(field => field.startsWith('annotation'));
assert.isAbove(fields.length, 0);
for (let field of fields) {
assert.equal(annotation[field], newAnnotation[field]);
assert.equal(annotation[field], newAnnotation[field], field);
}
});
})