Move localeCompare tests to Zotero.Intl tests

This commit is contained in:
Sylvester Keil 2018-08-01 13:40:45 +02:00
parent e6d5be755a
commit 824e9c78d6
No known key found for this signature in database
GPG key ID: 878933BCEAB25A10
2 changed files with 10 additions and 10 deletions

View file

@ -1,16 +1,6 @@
"use strict";
describe("Zotero", function() {
describe("#localeCompare", function () {
it("shouldn't ignore whitespace", function () {
assert.equal(Zotero.localeCompare("Chang", "Chan H"), 1);
});
it("shouldn't ignore leading punctuation", function () {
assert.equal(Zotero.localeCompare("_Abcd", "Abcd"), -1);
});
});
describe("VersionHeader", function () {
describe("#update()", function () {
var majorMinorVersion;