diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2020-01-08 18:04:00 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2020-01-08 18:08:10 +0300 |
commit | f52d9a878de95ca50788f1773d2c7c48301a6789 (patch) | |
tree | cc700146387dd8dc83d68a02f0c1b4b4167031d4 /tests/gtests/blenlib | |
parent | 525b0e0ccb088fc3e3d947de1376b570de3fb849 (diff) |
Fix T72878: Alphabetical sorting in Outliner sorts shorter names last
E.g. "Cube" would be placed after "Cube.001", which is not what you'd
expect. 2.80 handled this correctly.
Loosely based on D6525 by @radcapricorn, but found a bug in that and
prefered to do some further adjustments.
Also activates test for this case.
Diffstat (limited to 'tests/gtests/blenlib')
-rw-r--r-- | tests/gtests/blenlib/BLI_string_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gtests/blenlib/BLI_string_test.cc b/tests/gtests/blenlib/BLI_string_test.cc index b7c09796960..5766339f10d 100644 --- a/tests/gtests/blenlib/BLI_string_test.cc +++ b/tests/gtests/blenlib/BLI_string_test.cc @@ -801,7 +801,7 @@ TEST_F(StringCasecmpNatural, TextAndNumbers) const CompareWordsArray negative{ {"00je møder0", "00je møder1"}, {"05je møder0", "06je møder1"}, - // {"Cube", "Cube.001"}, + {"Cube", "Cube.001"}, {"Cube.001", "Cube.002"}, {"CUbe.001", "Cube.002"}, {"CUbe.002", "Cube.002"}, |