Skip to content

Commit

Permalink
Mod test to expect two fields (not sure why, this could be a JM bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Nov 25, 2018
1 parent e84c559 commit 031cb56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests/utilities_internalTest.js
Expand Up @@ -135,7 +135,7 @@ describe("Zotero.Utilities.Internal", function () {
var doiVal = '10.1234/abcdef';
var str = `\nOriginal Date: ${originalDateVal}\nDOI: ${doiVal}\n\n`;
var fields = Zotero.Utilities.Internal.extractExtraFields(str);
assert.equal(fields.size, 1);
assert.equal(fields.size, 2);
assert.equal(fields.get('DOI').value, doiVal);
});
});
Expand Down

0 comments on commit 031cb56

Please sign in to comment.