Skip to content

Commit

Permalink
Update tests after citeproc-js upgrade to match output
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Apr 15, 2017
1 parent 58f4dc3 commit b3277de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/tests/fileInterfaceTest.js
Expand Up @@ -129,11 +129,11 @@ describe("Zotero_File_Interface", function() {

// HTML
var str = getDataForFlavor('text/html');
assert.equal(str, '(<i>A</i>, 2016, <i>B</i>, 2016)');
assert.equal(str, '(<i>A</i>, 2016; <i>B</i>, 2016)');

// Plain text
str = getDataForFlavor('text/unicode');
assert.equal(str, '(A, 2016, B, 2016)');
assert.equal(str, '(A, 2016; B, 2016)');
});

it("should copy HTML and text bibliography to the clipboard", function* () {
Expand Down Expand Up @@ -166,11 +166,11 @@ describe("Zotero_File_Interface", function() {
);

var str = getDataForFlavor('text/html');
assert.equal(str, '(<i>A</i>, 2016, <i>B</i>, 2016)');
assert.equal(str, '(<i>A</i>, 2016; <i>B</i>, 2016)');

// Plain text
str = getDataForFlavor('text/unicode');
assert.equal(str, '(<i>A</i>, 2016, <i>B</i>, 2016)');
assert.equal(str, '(<i>A</i>, 2016; <i>B</i>, 2016)');
});

it("should copy HTML and HTML source bibliography to the clipboard", function* () {
Expand Down

0 comments on commit b3277de

Please sign in to comment.