only test examples which find a php class.

This commit is contained in:
Justin Hileman
2010-07-06 10:09:00 -04:00
parent 3ab2529b3e
commit c2c01cf964
+2
View File
@@ -283,8 +283,10 @@ class MustacheTest extends PHPUnit_Framework_TestCase {
} }
} }
if (!empty($class)) {
$ret[$example] = array($class, $template, $output); $ret[$example] = array($class, $template, $output);
} }
}
$files->next(); $files->next();
} }