Skip to content

Commit

Permalink
only test examples which find a php class.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobthecow committed Jul 6, 2010
1 parent 3ab2529 commit c2c01cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/MustacheTest.php
Expand Up @@ -283,7 +283,9 @@ public function getExamples() {
}
}

$ret[$example] = array($class, $template, $output);
if (!empty($class)) {
$ret[$example] = array($class, $template, $output);
}
}

$files->next();
Expand Down

0 comments on commit c2c01cf

Please sign in to comment.