MDL-32575 import latest Typo3 libs for textlib and other improvements

Includes new textlib reset, new test for faulty integer lower/upper casing.
This commit is contained in:
Petr Skoda
2012-04-21 21:31:03 +02:00
parent ead4f180a0
commit bc5c10f69e
10 changed files with 1469 additions and 1507 deletions
+4
View File
@@ -205,6 +205,10 @@ class core_textlib_testcase extends basic_testcase {
$str = pack("H*", "bcf2cce5d6d0cec4"); //GB18030
$this->assertSame(textlib::strtolower($str, 'GB18030'), $str);
// typo3 has problems with integers
$str = 1309528800;
$this->assertSame((string)$str, textlib::strtolower($str));
}
/**