mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Added more words to InflectorTest
This commit is contained in:
parent
a27499d88a
commit
3d83c628eb
1 changed files with 3 additions and 0 deletions
|
@ -114,6 +114,9 @@ class InflectorTest extends CakeTestCase {
|
|||
$this->assertEquals(Inflector::singularize('heroes'), 'hero');
|
||||
$this->assertEquals(Inflector::singularize('buffalos'), 'buffalo');
|
||||
$this->assertEquals(Inflector::singularize('babies'), 'baby');
|
||||
$this->assertEquals(Inflector::singularize('teeth'), 'tooth');
|
||||
$this->assertEquals(Inflector::singularize('geese'), 'goose');
|
||||
$this->assertEquals(Inflector::singularize('feet'), 'foot');
|
||||
|
||||
$this->assertEquals(Inflector::singularize(''), '');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue