Fix test
This commit is contained in:
parent
d781f9c3d4
commit
85776a99b2
|
@ -7,10 +7,10 @@ describe("Zotero", function() {
|
||||||
this.skip();
|
this.skip();
|
||||||
}
|
}
|
||||||
Components.utils.import("resource://gre/modules/PluralForm.jsm");
|
Components.utils.import("resource://gre/modules/PluralForm.jsm");
|
||||||
var str1 = Zotero.getString('fileInterface.importItemsWereImported')
|
var str1 = Zotero.getString('fileInterface.itemsWereImported')
|
||||||
.split(/;/)[1]
|
.split(/;/)[1]
|
||||||
.replace('%1$S', 2);
|
.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(str1);
|
||||||
Zotero.debug(str2);
|
Zotero.debug(str2);
|
||||||
assert.equal(str1, str2);
|
assert.equal(str1, str2);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user