added test case for non-breaking spaces in headlines and pagenames (to accompany FS#2291)
This commit is contained in:
parent
fe13bd81bd
commit
d98986013f
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ class utf8_stripspecials extends UnitTestCase {
|
|||
$tests[] = array('ascii.string','','\._\-:\*','asciistring');
|
||||
$tests[] = array('ascii.string',' ','\._\-:\*','ascii string');
|
||||
$tests[] = array('2.1.14',' ','\._\-:\*','2 1 14');
|
||||
$tests[] = array('string with nbsps','_','\*','string_with_nbsps');
|
||||
|
||||
foreach($tests as $test){
|
||||
$this->assertEqual(utf8_stripspecials($test[0],$test[1],$test[2]),$test[3]);
|
||||
|
|
Loading…
Reference in a new issue