only test examples which find a php class.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user