Permalink
Browse files

- Fix #92.

  • Loading branch information...
1 parent c97582c commit 7aa3d5eeafd5889af2a62ddd7397635fa3644d6f @sebastianbergmann committed Feb 6, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 PHPUnit/Util/Skeleton.php
@@ -108,7 +108,7 @@ public function __construct($className, $classSourceFile = '')
$this->classSourceFile = $className . '.php';
}
- else if (empty($classSourceFile) &&
+ else if (empty($classSourceFile) ||
is_file(str_replace('_', '/', $className) . '.php')) {
$this->classSourceFile = str_replace('_', '/', $className) . '.php';
$this->testSourceFile = str_replace('_', '/', $className) . 'Test.php';

0 comments on commit 7aa3d5e

Please sign in to comment.