[PropertyAccess] added moves to pluralMap
This commit is contained in:
parent
5fde0b00c6
commit
d6cafcd63c
@ -75,6 +75,9 @@ class StringUtil
|
|||||||
// lives (life), wives (wife)
|
// lives (life), wives (wife)
|
||||||
array('sevi', 4, false, true, 'ife'),
|
array('sevi', 4, false, true, 'ife'),
|
||||||
|
|
||||||
|
// moves (move)
|
||||||
|
array('sevom', 5, true, true, 'move'),
|
||||||
|
|
||||||
// hooves (hoof), dwarves (dwarf), elves (elf), leaves (leaf)
|
// hooves (hoof), dwarves (dwarf), elves (elf), leaves (leaf)
|
||||||
array('sev', 3, true, true, 'f'),
|
array('sev', 3, true, true, 'f'),
|
||||||
|
|
||||||
|
@ -118,6 +118,7 @@ class StringUtilTest extends \PHPUnit_Framework_TestCase
|
|||||||
array('cheeses', array('chees', 'cheese', 'cheesis')),
|
array('cheeses', array('chees', 'cheese', 'cheesis')),
|
||||||
array('radii', 'radius'),
|
array('radii', 'radius'),
|
||||||
array('objectives', 'objective'),
|
array('objectives', 'objective'),
|
||||||
|
array('moves', 'move'),
|
||||||
|
|
||||||
// test casing: if the first letter was uppercase, it should remain so
|
// test casing: if the first letter was uppercase, it should remain so
|
||||||
array('Men', 'Man'),
|
array('Men', 'Man'),
|
||||||
|
Reference in New Issue
Block a user