"use strict";

describe("Zotero", function() {
	describe("#getString()", function () {
		it("should return the right plural form", function* () {
			if (Zotero.locale != 'en-US') {
				this.skip();
			}
			Components.utils.import("resource://gre/modules/PluralForm.jsm");
			var str1 = Zotero.getString('fileInterface.importItemsWereImported')
				.split(/;/)[1]
				.replace('%1$S', 2);
			var str2 = Zotero.getString('fileInterface.importItemsWereImported', 2, 2);
			Zotero.debug(str1);
			Zotero.debug(str2);
			assert.equal(str1, str2);
		});
	});
});

@@ -304,38 +304,32 @@
 'fileInterface.i
-mportI
 temsWereImported
@@ -426,14 +426,8 @@
 ce.i
-mportI
 tems

Fix test