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
+3 -1
View File
@@ -283,7 +283,9 @@ class MustacheTest extends PHPUnit_Framework_TestCase {
} }
} }
$ret[$example] = array($class, $template, $output); if (!empty($class)) {
$ret[$example] = array($class, $template, $output);
}
} }
$files->next(); $files->next();