diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-07-23 12:52:13 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-08-11 13:28:53 +0200 |
commit | f2001a48a4e91bc6427a2a63ba9022ceaf1d305d (patch) | |
tree | df745410cd8b080c163762e912c750717a0e0f3e /tests | |
parent | 173059f6d00faa06dab9188efb2d7536f15861e4 (diff) | |
download | nextcloud-server-f2001a48a4e91bc6427a2a63ba9022ceaf1d305d.tar.gz nextcloud-server-f2001a48a4e91bc6427a2a63ba9022ceaf1d305d.zip |
Fixed sort algo for additional cases
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/naturalsort.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/naturalsort.php b/tests/lib/naturalsort.php index a880acaeec4..09a0e6a5f9d 100644 --- a/tests/lib/naturalsort.php +++ b/tests/lib/naturalsort.php @@ -74,9 +74,13 @@ class Test_NaturalSort extends PHPUnit_Framework_TestCase { 'ghi 1.txt', 'ghi 12.txt', 'zz', + '15.txt', + '15b.txt', ), // sorted array( + '15.txt', + '15b.txt', '123.txt', '124.txt', 'abc', |