Add tests for improved compareCallNumbers
(#2579)
This commit is contained in:
parent
5196ba379b
commit
3bfc6740c4
2 changed files with 16 additions and 1 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 2d6e330e28f1c46482b93a37e8ceee53af74996c
|
||||
Subproject commit 90f6c8aeda15e1433ac24903440ab470bcfbed4f
|
|
@ -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);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue