1
0
mirror of https://github.com/danielstjules/Stringy.git synced 2025-08-19 03:21:21 +02:00

Renamed toTitleCase

This commit is contained in:
Daniel St. Jules
2014-09-14 09:27:46 -07:00
parent 681463de87
commit c577684e0a
6 changed files with 36 additions and 10 deletions

View File

@@ -245,11 +245,11 @@ class StaticStringyTestCase extends CommonTest
}
/**
* @dataProvider toCaseTitleProvider()
* @dataProvider toTitleCaseProvider()
*/
public function testToCaseTitle($expected, $str, $encoding = null)
public function testToTitleCase($expected, $str, $encoding = null)
{
$result = S::toCaseTitle($str, $encoding);
$result = S::toTitleCase($str, $encoding);
$this->assertInternalType('string', $result);
$this->assertEquals($expected, $result);
}