Update tests after citeproc-js upgrade to match output
This commit is contained in:
parent
58f4dc3bb5
commit
b3277de5ae
|
@ -129,11 +129,11 @@ describe("Zotero_File_Interface", function() {
|
||||||
|
|
||||||
// HTML
|
// HTML
|
||||||
var str = getDataForFlavor('text/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
|
// Plain text
|
||||||
str = getDataForFlavor('text/unicode');
|
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* () {
|
it("should copy HTML and text bibliography to the clipboard", function* () {
|
||||||
|
@ -166,11 +166,11 @@ describe("Zotero_File_Interface", function() {
|
||||||
);
|
);
|
||||||
|
|
||||||
var str = getDataForFlavor('text/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
|
// Plain text
|
||||||
str = getDataForFlavor('text/unicode');
|
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* () {
|
it("should copy HTML and HTML source bibliography to the clipboard", function* () {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user