mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
parent
9c4a9bbd06
commit
bd87400131
2 changed files with 4 additions and 2 deletions
|
@ -67,6 +67,7 @@ class InflectorTest extends CakeTestCase {
|
|||
$this->assertEqual(Inflector::singularize('Aliases'), 'Alias');
|
||||
$this->assertEqual(Inflector::singularize('Alias'), 'Alias');
|
||||
$this->assertEqual(Inflector::singularize('Media'), 'Media');
|
||||
$this->assertEqual(Inflector::singularize('NodeMedia'), 'NodeMedia');
|
||||
$this->assertEqual(Inflector::singularize('alumni'), 'alumnus');
|
||||
$this->assertEqual(Inflector::singularize('bacilli'), 'bacillus');
|
||||
$this->assertEqual(Inflector::singularize('cacti'), 'cactus');
|
||||
|
@ -135,6 +136,7 @@ class InflectorTest extends CakeTestCase {
|
|||
$this->assertEqual(Inflector::pluralize('Alias'), 'Aliases');
|
||||
$this->assertEqual(Inflector::pluralize('Aliases'), 'Aliases');
|
||||
$this->assertEqual(Inflector::pluralize('Media'), 'Media');
|
||||
$this->assertEqual(Inflector::pluralize('NodeMedia'), 'NodeMedia');
|
||||
$this->assertEqual(Inflector::pluralize('alumnus'), 'alumni');
|
||||
$this->assertEqual(Inflector::pluralize('bacillus'), 'bacilli');
|
||||
$this->assertEqual(Inflector::pluralize('cactus'), 'cacti');
|
||||
|
|
|
@ -160,12 +160,12 @@ class Inflector {
|
|||
'debris', 'diabetes', 'djinn', 'eland', 'elk', 'equipment', 'Faroese', 'flounder',
|
||||
'Foochowese', 'gallows', 'Genevese', 'Genoese', 'Gilbertese', 'graffiti',
|
||||
'headquarters', 'herpes', 'hijinks', 'Hottentotese', 'information', 'innings',
|
||||
'jackanapes', 'Kiplingese', 'Kongoese', 'Lucchese', 'mackerel', 'Maltese', 'media',
|
||||
'jackanapes', 'Kiplingese', 'Kongoese', 'Lucchese', 'mackerel', 'Maltese', '.*?media',
|
||||
'mews', 'moose', 'mumps', 'Nankingese', 'news', 'nexus', 'Niasese',
|
||||
'Pekingese', 'Piedmontese', 'pincers', 'Pistoiese', 'pliers', 'Portuguese',
|
||||
'proceedings', 'rabies', 'rice', 'rhinoceros', 'salmon', 'Sarawakese', 'scissors',
|
||||
'sea[- ]bass', 'series', 'Shavese', 'shears', 'siemens', 'species', 'swine', 'testes',
|
||||
'trousers', 'trout','tuna', 'Vermontese', 'Wenchowese', 'whiting', 'wildebeest',
|
||||
'trousers', 'trout', 'tuna', 'Vermontese', 'Wenchowese', 'whiting', 'wildebeest',
|
||||
'Yengeese'
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue