Project

General

Profile

Actions

Bug #65319

closed

Epic #65314: PHP7

ResourceUtilityTest::recursiveFileListSortingHelperCorrectlySorts

Added by Alexander Opitz about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
Start date:
2015-02-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

TYPO3\CMS\Core\Tests\Unit\Utility\ResourceUtilityTest::recursiveFileListSortingHelperCorrectlySorts with data set "mixed capitalization" (array('alllower', 'allCAPS', 'ALLcaps', 'mIxedinanotherway', 'ALLCAPS', 'MiXeDcApItAlIzAtIoN'), array('ALLCAPS', 'ALLcaps', 'allCAPS', 'alllower', 'MiXeDcApItAlIzAtIoN', 'mIxedinanotherway'))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
-    0 => 'ALLCAPS'
+    0 => 'allCAPS'
     1 => 'ALLcaps'
-    2 => 'allCAPS'
+    2 => 'ALLCAPS'
     3 => 'alllower'
     4 => 'MiXeDcApItAlIzAtIoN'
     5 => 'mIxedinanotherway'
 )

/home/opitz/projects/typo3-master/typo3-src/typo3/sysext/core/Tests/Unit/Utility/ResourceUtilityTest.php:68
/home/opitz/projects/neos-git/Packages/Libraries/phpunit/phpunit/phpunit7:56

=> unatcasesort, internally same issue on swap?
=> Open an issue in PHP issue tracker

=> Also in HHVM


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #67187: recursiveFileListSortingHelper natural sorting isn't locale awareResolved2015-05-29

Actions
Actions

Also available in: Atom PDF