diff options
author | Andrey Andreev <narf@devilix.net> | 2015-07-08 16:57:52 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-07-08 16:57:52 +0200 |
commit | 7018d892512af76043c5843f663da76a7ed08cb7 (patch) | |
tree | c48a5323eee4cab77c06d087acaf8effba172956 /system/libraries/Unit_test.php | |
parent | 2ffdb7b9ddcd9cbc49fc347fe8d8f276bdab60e0 (diff) |
Fix #3963
Diffstat (limited to 'system/libraries/Unit_test.php')
-rw-r--r-- | system/libraries/Unit_test.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/system/libraries/Unit_test.php b/system/libraries/Unit_test.php index 60b046ba0..158f841ed 100644 --- a/system/libraries/Unit_test.php +++ b/system/libraries/Unit_test.php @@ -291,10 +291,12 @@ class CI_Unit_test { { continue; } - - if (FALSE !== ($line = $CI->lang->line(strtolower('ut_'.$val), FALSE))) + elseif (in_array($key, array('test_name', 'test_datatype', 'test_res_datatype', 'result'), TRUE)) { - $val = $line; + if (FALSE !== ($line = $CI->lang->line(strtolower('ut_'.$val), FALSE))) + { + $val = $line; + } } $temp[$CI->lang->line('ut_'.$key, FALSE)] = $val; |