Permalink
Browse files

Added more words to InflectorTest

  • Loading branch information...
1 parent a27499d commit 3d83c628eb2cd01cfd719a518c2ead4abd60d2d4 @wernerhp wernerhp committed Jul 10, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/Cake/Test/Case/Utility/InflectorTest.php
@@ -114,6 +114,9 @@ public function testInflectingSingulars() {
$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(''), '');
}

0 comments on commit 3d83c62

Please sign in to comment.