Procházet zdrojové kódy

only test examples which find a php class.

Justin Hileman před 15 roky
rodič
revize
c2c01cf964
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      test/MustacheTest.php

+ 3 - 1
test/MustacheTest.php

@@ -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();