Move failing assertion to a new test method

This commit is contained in:
Val Bancer 2018-11-11 17:53:28 +01:00
parent d9655c94c5
commit 22b0386fd5

View file

@ -7632,11 +7632,6 @@ class MultibyteTest extends CakeTestCase {
$result = mb_strtoupper($string); $result = mb_strtoupper($string);
$expected = 'ΩKÅ'; $expected = 'ΩKÅ';
$this->assertEquals($expected, $result); $this->assertEquals($expected, $result);
$string = 'fffiflffifflſtstﬓﬔﬕﬖﬗ';
$result = mb_strtoupper($string);
$expected = 'fffiflffifflſtstﬓﬔﬕﬖﬗ';
$this->assertEquals($expected, $result);
} }
/** /**
@ -7652,7 +7647,7 @@ class MultibyteTest extends CakeTestCase {
} }
/** /**
* testUsingMbStrtoupperArmenian method * testUsingMbStrtoupperDiacritic method
* *
* @return void * @return void
*/ */
@ -7663,6 +7658,18 @@ class MultibyteTest extends CakeTestCase {
$this->assertEquals($expected, $result); $this->assertEquals($expected, $result);
} }
/**
* testUsingMbStrtoupperLigatures method
*
* @return void
*/
public function testUsingMbStrtoupperLigatures() {
$string = 'fffiflffifflſtstﬓﬔﬕﬖﬗ';
$result = mb_strtoupper($string);
$expected = 'fffiflffifflſtstﬓﬔﬕﬖﬗ';
$this->assertEquals($expected, $result);
}
/** /**
* testMultibyteStrtoupper method * testMultibyteStrtoupper method
* *