mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-17 18:46:19 +02:00
Add $removeUnsupported parameter to toAscii()
This commit is contained in:
@@ -133,9 +133,9 @@ class StaticStringyTestCase extends CommonTest
|
||||
/**
|
||||
* @dataProvider toAsciiProvider()
|
||||
*/
|
||||
public function testToAscii($expected, $str)
|
||||
public function testToAscii($expected, $str, $removeUnsupported = true)
|
||||
{
|
||||
$result = S::toAscii($str);
|
||||
$result = S::toAscii($str, $removeUnsupported);
|
||||
$this->assertInternalType('string', $result);
|
||||
$this->assertEquals($expected, $result);
|
||||
}
|
||||
|
Reference in New Issue
Block a user