Add tests for improved compareCallNumbers (#2579)

This commit is contained in:
Abe Jellinek 2022-04-28 01:43:30 -07:00 committed by GitHub
parent 5196ba379b
commit 3bfc6740c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

@ -1 +1 @@
Subproject commit 2d6e330e28f1c46482b93a37e8ceee53af74996c
Subproject commit 90f6c8aeda15e1433ac24903440ab470bcfbed4f

View file

@ -323,6 +323,21 @@ describe("Zotero.Utilities.Item", function() {
'PJ4519 .B99 A65 1976',
];
checkSort(numbersInOrder);
numbersInOrder = [
'PJ6611.B35 2014',
'PJ6611 .Z36 2001',
];
checkSort(numbersInOrder);
numbersInOrder = [
'PC43 .O95 2016',
'PC45 .P4 1976',
'PC4074.7 .P46 2000',
'PC4075',
'PC4075 .P69 2001',
];
checkSort(numbersInOrder);
});
});
});