Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Nov 7, 2006
1 parent 0161d87 commit 876d0bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PHPUnit/Util/Skeleton.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public function generate($verbose = FALSE)
$method->getDeclaringClass()->getName() == $this->className) {
$testTagFound = FALSE;

if (preg_match_all('/@test(.*)$/Um', $method->getDocComment(), $annotations)) {
if (preg_match_all('/@assert(.*)$/Um', $method->getDocComment(), $annotations)) {
foreach ($annotations[1] as $annotation) {
if (preg_match('/\((.*)\) (.*) (.*)/', $annotation, $matches)) {
switch ($matches[2]) {
Expand Down

0 comments on commit 876d0bb

Please sign in to comment.