|
|
@@ -44,7 +44,7 @@ class TypographyHelperTest extends MyCakeTestCase {
|
|
|
$strs = array(
|
|
|
'"double quotes"' => '“double quotes”',
|
|
|
'"testing" in "theory" that is' => '“testing” in “theory” that is',
|
|
|
- "Here's what I'm" => 'Here’s what I’m',
|
|
|
+ "Here's what I'm" => 'Here’s what I’m',
|
|
|
'&' => '&',
|
|
|
'&' => '&',
|
|
|
' ' => ' ',
|
|
|
@@ -65,7 +65,7 @@ class TypographyHelperTest extends MyCakeTestCase {
|
|
|
$strs = array(
|
|
|
'"double quotes"' => '„double quotes‟',
|
|
|
'"testing" in "theory" that is' => '„testing‟ in „theory‟ that is',
|
|
|
- "Here's what I'm" => 'Here‛s what I‛m',
|
|
|
+ "Here's what I'm" => 'Here’s what I’m',
|
|
|
);
|
|
|
foreach ($strs as $str => $expected) {
|
|
|
$result = $this->Typography->formatCharacters($str);
|
|
|
@@ -77,7 +77,7 @@ class TypographyHelperTest extends MyCakeTestCase {
|
|
|
$strs = array(
|
|
|
'"double quotes"' => '«double quotes»',
|
|
|
'"testing" in "theory" that is' => '«testing» in «theory» that is',
|
|
|
- "Here's what I'm" => 'Here›s what I›m',
|
|
|
+ "Here's what I'm" => 'Here’s what I’m',
|
|
|
);
|
|
|
foreach ($strs as $str => $expected) {
|
|
|
$result = $this->Typography->formatCharacters($str);
|