Changeset 2536

Show
Ignore:
Timestamp:
04/20/2008 10:42:16 AM (6 months ago)
Author:
Geert
Message:

Fixed #566

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/unit_test/libraries/Unit_Test.php

    r2305 r2536  
    6464                                // The class name should be the same as the file name 
    6565                                $class = substr($path, strrpos($path, '/') + 1, -(strlen(EXT))); 
     66 
     67                                // Skip hidden files 
     68                                if (substr($class, 0, 1) === '.') 
     69                                        continue; 
    6670 
    6771                                // Check for duplicate test class name