summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authortianhe1986 <w1s2j3229@163.com>2016-08-09 13:07:47 +0200
committertianhe1986 <w1s2j3229@163.com>2016-08-09 13:07:47 +0200
commitde4686ab2cb4d8de9995eeba62a12f632c2e3324 (patch)
treeb8cf842c4f3a985f0ea40a3c3970f74994063657 /system
parenta4ed425b218942ed7e60d993325f592f5c24e59e (diff)
CI_Unit_test: Fix name of visible test items.
Signed-off-by: tianhe1986 <w1s2j3229@163.com>
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Unit_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Unit_test.php b/system/libraries/Unit_test.php
index 3ac6af78e..ea78e0d98 100644
--- a/system/libraries/Unit_test.php
+++ b/system/libraries/Unit_test.php
@@ -291,7 +291,7 @@ class CI_Unit_test {
{
continue;
}
- elseif (in_array($key, array('test_name', 'test_datatype', 'test_res_datatype', 'result'), TRUE))
+ elseif (in_array($key, array('test_name', 'test_datatype', 'res_datatype', 'result'), TRUE))
{
if (FALSE !== ($line = $CI->lang->line(strtolower('ut_'.$val), FALSE)))
{