Permalink
Browse files

Updated result function to check for visible items as defined in issue

  • Loading branch information...
1 parent 50e5007 commit dfcd4188c669652798f64dbb9c703f01966bdfab Kyle Johnson committed Oct 3, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 system/libraries/Unit_test.php
@@ -240,6 +240,11 @@ public function result($results = array())
{
foreach ($val as $k => $v)
{
+ if ( ! in_array($k, $this->_test_items_visible))
+ {
+ continue;
+ }
+
if (FALSE !== ($line = $CI->lang->line(strtolower('ut_'.$v))))
{
$v = $line;

0 comments on commit dfcd418

Please sign in to comment.