From 4de8c4b9d9786986b59d06eaea21312067f20eac Mon Sep 17 00:00:00 2001 From: wei <> Date: Wed, 9 May 2007 00:21:18 +0000 Subject: Only checks for .php extension in unit tests --- tests/test_tools/unit_tests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_tools/unit_tests.php') 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),"\\",'/'); } -- cgit v1.2.3