Fix test
This commit is contained in:
parent
d781f9c3d4
commit
85776a99b2
1 changed files with 2 additions and 2 deletions
|
@ -7,10 +7,10 @@ describe("Zotero", function() {
|
|||
this.skip();
|
||||
}
|
||||
Components.utils.import("resource://gre/modules/PluralForm.jsm");
|
||||
var str1 = Zotero.getString('fileInterface.importItemsWereImported')
|
||||
var str1 = Zotero.getString('fileInterface.itemsWereImported')
|
||||
.split(/;/)[1]
|
||||
.replace('%1$S', 2);
|
||||
var str2 = Zotero.getString('fileInterface.importItemsWereImported', 2, 2);
|
||||
var str2 = Zotero.getString('fileInterface.itemsWereImported', 2, 2);
|
||||
Zotero.debug(str1);
|
||||
Zotero.debug(str2);
|
||||
assert.equal(str1, str2);
|
||||
|
|
Loading…
Add table
Reference in a new issue