From 22b0386fd510d7a31396e85aec7f4355e43e1307 Mon Sep 17 00:00:00 2001 From: Val Bancer Date: Sun, 11 Nov 2018 17:53:28 +0100 Subject: [PATCH] Move failing assertion to a new test method --- lib/Cake/Test/Case/I18n/MultibyteTest.php | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/lib/Cake/Test/Case/I18n/MultibyteTest.php b/lib/Cake/Test/Case/I18n/MultibyteTest.php index 01df1aeb7..7653a0865 100644 --- a/lib/Cake/Test/Case/I18n/MultibyteTest.php +++ b/lib/Cake/Test/Case/I18n/MultibyteTest.php @@ -7632,11 +7632,6 @@ class MultibyteTest extends CakeTestCase { $result = mb_strtoupper($string); $expected = 'ΩKÅ'; $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 */ @@ -7663,6 +7658,18 @@ class MultibyteTest extends CakeTestCase { $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 *