Skip to content
Browse files

- Fix #122.

  • Loading branch information...
1 parent c45883e commit a9bf0eb0e7bf23f137a7c054f12953aeadff26ee @sebastianbergmann committed Apr 27, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 PHPUnit/Util/Skeleton.php
View
2 PHPUnit/Util/Skeleton.php
@@ -174,7 +174,7 @@ public function generate($verbose = FALSE)
if (preg_match_all('/@assert(.*)$/Um', $method->getDocComment(), $annotations)) {
foreach ($annotations[1] as $annotation) {
- if (preg_match('/\((.*)\) (.*) (.*)/', $annotation, $matches)) {
+ if (preg_match('/\((.*)\)\s+(.*)\s+(.*)/', $annotation, $matches)) {
switch ($matches[2]) {
case '==': {
$assertion = 'Equals';

0 comments on commit a9bf0eb

Please sign in to comment.
Something went wrong with that request. Please try again.