mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-12 16:24:00 +02:00
Issue #82: titleize now lowercases, no longer preserves acronyms
This commit is contained in:
@@ -551,10 +551,11 @@ class StringyTestCase extends PHPUnit_Framework_TestCase
|
||||
$ignore = array('at', 'by', 'for', 'in', 'of', 'on', 'out', 'to', 'the');
|
||||
|
||||
return array(
|
||||
array('Title Case', 'TITLE CASE'),
|
||||
array('Testing The Method', 'testing the method'),
|
||||
array('Testing the Method', 'testing the method', $ignore, 'UTF-8'),
|
||||
array('I Like to Watch DVDs at Home', 'i like to watch DVDs at home',
|
||||
$ignore, 'UTF-8'),
|
||||
array('Testing the Method', 'testing the method', $ignore),
|
||||
array('I Like to Watch Dvds at Home', 'i like to watch DVDs at home',
|
||||
$ignore),
|
||||
array('Θα Ήθελα Να Φύγει', ' Θα ήθελα να φύγει ', null, 'UTF-8')
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user