Permalink
Browse files

Plural of breif is breifs not breives

  • Loading branch information...
1 parent 4c92cdc commit 7f44cc01b54ff11842b65613dd06466cb816f956 @robmcvey robmcvey committed Sep 4, 2013
Showing with 3 additions and 1 deletion.
  1. +2 −1 lib/Cake/Test/Case/Utility/InflectorTest.php
  2. +1 −0 lib/Cake/Utility/Inflector.php
@@ -119,7 +119,7 @@ public function testInflectingSingulars() {
$this->assertEquals(Inflector::singularize('feet'), 'foot');
$this->assertEquals(Inflector::singularize('objectives'), 'objective');
$this->assertEquals(Inflector::singularize('archives'), 'archive');
-
+ $this->assertEquals(Inflector::singularize('briefs'), 'brief');
$this->assertEquals(Inflector::singularize(''), '');
}
@@ -180,6 +180,7 @@ public function testInflectingPlurals() {
$this->assertEquals(Inflector::pluralize('goose'), 'geese');
$this->assertEquals(Inflector::pluralize('foot'), 'feet');
$this->assertEquals(Inflector::pluralize('objective'), 'objectives');
+ $this->assertEquals(Inflector::pluralize('brief'), 'briefs');
$this->assertEquals(Inflector::pluralize(''), '');
}
@@ -61,6 +61,7 @@ class Inflector {
'irregular' => array(
'atlas' => 'atlases',
'beef' => 'beefs',
+ 'brief' => 'briefs',
'brother' => 'brothers',
'cafe' => 'cafes',
'child' => 'children',

0 comments on commit 7f44cc0

Please sign in to comment.