Issue Bug Closed

#65319ResourceUtilityTest::recursiveFileListSortingHelperCorrectlySorts

Alexander Opitz 02/25/15, 11:07 updated 10/21/17, 17:45

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

Reviews 2