diff options
author | wei <> | 2007-05-09 00:21:18 +0000 |
---|---|---|
committer | wei <> | 2007-05-09 00:21:18 +0000 |
commit | 4de8c4b9d9786986b59d06eaea21312067f20eac (patch) | |
tree | 5b344e4572dddb255d9a8ce2bd3b42be2243b09b /tests/test_tools | |
parent | b88f377dd165d692540e1c9550a76f900124080e (diff) |
Only checks for .php extension in unit tests
Diffstat (limited to 'tests/test_tools')
-rw-r--r-- | tests/test_tools/unit_tests.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_tools/unit_tests.php b/tests/test_tools/unit_tests.php index b494ca05..42faf37a 100644 --- a/tests/test_tools/unit_tests.php +++ b/tests/test_tools/unit_tests.php @@ -35,7 +35,7 @@ class TestFolder $this->subFolders[]=$folder; } else if(is_file($fullpath) && (strncmp($entry,'ut',2)===0 - || preg_match('/test.*\.php/', strtolower($entry)))) + || preg_match('/test.*\.php$/i', $entry))) { $this->testFiles[$entry]="$rootUri/$script?target=".strtr(substr($fullpath,strlen($rootPath)+1),"\\",'/'); } |