summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/helpers
diff options
context:
space:
mode:
authorHamza Bhatti <tiyowan@gmail.com>2012-03-15 06:45:29 +0100
committerHamza Bhatti <tiyowan@gmail.com>2012-03-15 07:09:19 +0100
commit2a6a6162ff6de8c2114c50254a5046ee6822c5dc (patch)
tree17f82a8894351430c232543e14abc2a80d843bca /tests/codeigniter/helpers
parent7ed4c4ab0551411cc6927d76d55c037d87d65c17 (diff)
Change unit tests to provide one hundred percent code coverage
- Add value to test is_countable() conditional in test_singular() - Add value to test is_countable() conditional in test_plural()
Diffstat (limited to 'tests/codeigniter/helpers')
-rw-r--r--tests/codeigniter/helpers/inflector_helper_test.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/codeigniter/helpers/inflector_helper_test.php b/tests/codeigniter/helpers/inflector_helper_test.php
index e476f6dc8..472e28adb 100644
--- a/tests/codeigniter/helpers/inflector_helper_test.php
+++ b/tests/codeigniter/helpers/inflector_helper_test.php
@@ -11,7 +11,8 @@ class Inflector_helper_test extends CI_TestCase {
'tellies' => 'telly',
'smellies' => 'smelly',
'abjectnesses' => 'abjectness',
- 'smells' => 'smell'
+ 'smells' => 'smell',
+ 'equipment' => 'equipment'
);
foreach ($strs as $str => $expect)
@@ -29,7 +30,8 @@ class Inflector_helper_test extends CI_TestCase {
'smelly' => 'smellies',
'abjectness' => 'abjectnesses', // ref : http://en.wiktionary.org/wiki/abjectnesses
'smell' => 'smells',
- 'witch' => 'witches'
+ 'witch' => 'witches',
+ 'equipment' => 'equipment'
);
foreach ($strs as $str => $expect)