commit b3277de5aef7b637eb189f43caab70542ef22be8
parent 58f4dc3bb5132c8472f8ac84c44b106e33f9733f
Author: Dan Stillman <dstillman@zotero.org>
Date: Sat, 15 Apr 2017 04:34:27 -0400
Update tests after citeproc-js upgrade to match output
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/test/tests/fileInterfaceTest.js b/test/tests/fileInterfaceTest.js
@@ -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* () {
@@ -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* () {