summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-08-10 12:21:15 +0200
committerGitHub <noreply@github.com>2016-08-10 12:21:15 +0200
commit7cac1ec60344b825a2be17fd8b8d55d78ba0cfe6 (patch)
treeb8cf842c4f3a985f0ea40a3c3970f74994063657 /system/libraries
parenta4ed425b218942ed7e60d993325f592f5c24e59e (diff)
parentde4686ab2cb4d8de9995eeba62a12f632c2e3324 (diff)
Merge pull request #4754 from tianhe1986/develop_fix_unit_test_name
CI_Unit_test: Fix translation of result datatype
Diffstat (limited to 'system/libraries')
-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)))
{