diff options
author | Andreas Gohr <andi@splitbrain.org> | 2011-11-27 10:50:03 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2011-11-27 10:50:03 +0100 |
commit | 560f6ea3cdac2767863c3be3a9e7933b6e37e88f (patch) | |
tree | 6f51d4b3402458e4de1a596b93ec752c8ac747b2 /_test | |
parent | e0dd04a6493f1b7f7133f75c08f9ea55ee8bd50a (diff) | |
parent | c66c7229a0dfc4f9f06dadda98408679fa7a18d6 (diff) | |
download | rpg-560f6ea3cdac2767863c3be3a9e7933b6e37e88f.tar.gz rpg-560f6ea3cdac2767863c3be3a9e7933b6e37e88f.tar.bz2 |
Merge branch 'master' into bcrypt
Diffstat (limited to '_test')
-rw-r--r-- | _test/cases/inc/utf8_stripspecials.test.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/_test/cases/inc/utf8_stripspecials.test.php b/_test/cases/inc/utf8_stripspecials.test.php index 85df75fa1..481f47650 100644 --- a/_test/cases/inc/utf8_stripspecials.test.php +++ b/_test/cases/inc/utf8_stripspecials.test.php @@ -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]); |