Skip to content
This repository
Browse code

Added more words to InflectorTest

  • Loading branch information...
commit 3d83c628eb2cd01cfd719a518c2ead4abd60d2d4 1 parent a27499d
Werner Pieterson authored July 10, 2013
3  lib/Cake/Test/Case/Utility/InflectorTest.php
@@ -114,6 +114,9 @@ public function testInflectingSingulars() {
114 114
 		$this->assertEquals(Inflector::singularize('heroes'), 'hero');
115 115
 		$this->assertEquals(Inflector::singularize('buffalos'), 'buffalo');
116 116
 		$this->assertEquals(Inflector::singularize('babies'), 'baby');
  117
+		$this->assertEquals(Inflector::singularize('teeth'), 'tooth');
  118
+		$this->assertEquals(Inflector::singularize('geese'), 'goose');
  119
+		$this->assertEquals(Inflector::singularize('feet'), 'foot');
117 120
 
118 121
 		$this->assertEquals(Inflector::singularize(''), '');
119 122
 	}

0 notes on commit 3d83c62

Please sign in to comment.
Something went wrong with that request. Please try again.