Changeset 37853 for trunk/tests/phpunit/tests/formatting/RemoveAccents.php
- Timestamp:
- 06/23/2016 01:27:32 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/RemoveAccents.php
r26585 r37853 111 111 } 112 112 113 public function _set_locale_to_catalan() { 114 return 'ca'; 115 } 116 117 /** 118 * @ticket 37086 119 */ 120 public function test_remove_catalan_middot() { 121 add_filter( 'locale', array( $this, '_set_locale_to_catalan' ) ); 122 123 $this->assertEquals( 'allallalla', remove_accents( 'al·lallaŀla' ) ); 124 125 remove_filter( 'locale', array( $this, '_set_locale_to_catalan' ) ); 126 127 $this->assertEquals( 'al·lallalla', remove_accents( 'al·lallaŀla' ) ); 128 } 113 129 }
Note: See TracChangeset
for help on using the changeset viewer.