|
|
06ddba0 |
Upstream says:
|
|
|
06ddba0 |
|
|
|
06ddba0 |
I think you can ignore this. It's almost certainly to do with minor
|
|
|
06ddba0 |
difference in locales between OSX and Linux. You are using the same
|
|
|
06ddba0 |
locale as I am (en_GB.UTF-8) in the OS and this usually means that the
|
|
|
06ddba0 |
collation tables for the locale are different between OSes. Since the
|
|
|
06ddba0 |
default is to use the Unicode Collation algorithm anyway, this hardly
|
|
|
06ddba0 |
matters. I only use OS locales in the tests to speed them up a bit.
|
|
|
06ddba0 |
|
|
|
06ddba0 |
https://github.com/plk/biber/issues/72#issuecomment-114232856
|
|
|
06ddba0 |
|
|
|
06ddba0 |
---
|
|
|
06ddba0 |
|
|
|
06ddba0 |
diff -u -r biblatex-biber-2.1-orig/t/sort-order.t biblatex-biber-2.1/t/sort-order.t
|
|
|
06ddba0 |
--- biblatex-biber-2.1-orig/t/sort-order.t
|
|
|
06ddba0 |
+++ biblatex-biber-2.1/t/sort-order.t
|
|
|
06ddba0 |
@@ -4,7 +4,7 @@
|
|
|
06ddba0 |
use utf8;
|
|
|
06ddba0 |
no warnings 'utf8';
|
|
|
06ddba0 |
|
|
|
06ddba0 |
-use Test::More tests => 15;
|
|
|
06ddba0 |
+use Test::More tests => 14;
|
|
|
06ddba0 |
|
|
|
06ddba0 |
use Biber;
|
|
|
06ddba0 |
use Biber::Output::bbl;
|
|
|
06ddba0 |
@@ -482,26 +482,6 @@
|
|
|
06ddba0 |
is_deeply([$main->get_keys], ['L9','L6','L7','L8','L5','L4','L3','L2','L1B','L1A','L1'], 'nty with descending n');
|
|
|
06ddba0 |
|
|
|
06ddba0 |
|
|
|
06ddba0 |
-# testing case sensitive with fastsort
|
|
|
06ddba0 |
-# In alphabetic, all uppercase comes before lower so the
|
|
|
06ddba0 |
-# "sortcase => 1" on location means that "edinburgh" sorts at the end after "London"
|
|
|
06ddba0 |
-# Take this out of the location sorting spec and it fails as it should
|
|
|
06ddba0 |
-$S = { spec => [
|
|
|
06ddba0 |
- [
|
|
|
06ddba0 |
- {sortcase => 1},
|
|
|
06ddba0 |
- {'location' => {}}
|
|
|
06ddba0 |
- ]
|
|
|
06ddba0 |
- ]};
|
|
|
06ddba0 |
-
|
|
|
06ddba0 |
-$main->set_sortscheme($S);
|
|
|
06ddba0 |
-
|
|
|
06ddba0 |
-$biber->set_output_obj(Biber::Output::bbl->new());
|
|
|
06ddba0 |
-# Have to set locale to something which understands lexical/case differences for this test
|
|
|
06ddba0 |
-# otherwise testing on Windows doesn't work ...
|
|
|
06ddba0 |
-Biber::Config->setoption('sortlocale', 'en_GB.UTF-8');
|
|
|
06ddba0 |
-$biber->prepare;
|
|
|
06ddba0 |
-$section = $biber->sections->get_section(0);
|
|
|
06ddba0 |
-is_deeply([$main->get_keys], ['L1B','L1','L1A','L2','L3','L4','L5','L7','L8','L9','L6'], 'location - sortcase=1');
|
|
|
06ddba0 |
|
|
|
06ddba0 |
# Test nosort option
|
|
|
06ddba0 |
$S = { spec => [
|