You are here

public function UnicodeTest::providerStrtolower in Drupal 8

Data provider for testStrtolower().

Return value

array An array containing a string and its lowercase version.

See also

testStrtolower()

File

core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php, line 111

Class

UnicodeTest
Test unicode handling features implemented in Unicode component.

Namespace

Drupal\Tests\Component\Utility

Code

public function providerStrtolower() {
  return [
    [
      'tHe QUIcK bRoWn',
      'the quick brown',
    ],
    [
      'FrançAIS is ÜBER-åwesome',
      'français is über-åwesome',
    ],
    [
      'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΣὨ',
      'αβγδεζηθικλμνξοσὠ',
    ],
  ];
}