Changeset 38646 for trunk/tests/phpunit/tests/formatting/RemoveAccents.php
- Timestamp:
- 09/23/2016 12:06:24 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/RemoveAccents.php
r38193 r38646 116 116 117 117 /** 118 * @ticket 37086119 */118 * @ticket 37086 119 */ 120 120 public function test_remove_catalan_middot() { 121 121 add_filter( 'locale', array( $this, '_set_locale_to_catalan' ) ); … … 127 127 $this->assertEquals( 'al·lallalla', remove_accents( 'al·lallaŀla' ) ); 128 128 } 129 130 public function _set_locale_to_serbian() { 131 return 'sr_RS'; 132 } 133 134 /** 135 * @ticket 38078 136 */ 137 public function test_transcribe_serbian_crossed_d() { 138 add_filter( 'locale', array( $this, '_set_locale_to_serbian' ) ); 139 140 $this->assertEquals( 'DJdj', remove_accents( 'Đđ' ) ); 141 142 remove_filter( 'locale', array( $this, '_set_locale_to_serbian' ) ); 143 144 $this->assertEquals( 'Dd', remove_accents( 'Đđ' ) ); 145 } 129 146 }
Note: See TracChangeset
for help on using the changeset viewer.