com pftt2: Fix #81: Lower-casing of PHPT file names can break tests: src/com/mostc/pftt/model/core/PhptTestCase.java
| From: | Christoph Michael Becker | Date: | Wed, 23 Oct 2019 10:49:39 +0000 |
| Subject: | com pftt2: Fix #81: Lower-casing of PHPT file names can break tests: src/com/mostc/pftt/model/core/PhptTestCase.java | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-68726@lists.php.net to get a copy of this message | ||
Commit: 332325c23940184aaa90ef97c76583a66b034767
Author: Christoph M. Becker <cmbecker69@gmx.de> Tue, 22 Oct 2019 15:19:31 +0200
Parents: 2f9a2945a948569229f2cada3bbbbad42d8e8d46
Branches: master
Link: http://git.php.net/?p=pftt2.git;a=commitdiff;h=332325c23940184aaa90ef97c76583a66b034767
Log:
Fix #81: Lower-casing of PHPT file names can break tests
Bugs:
https://bugs.php.net/81
Changed paths:
M src/com/mostc/pftt/model/core/PhptTestCase.java
Diff:
diff --git a/src/com/mostc/pftt/model/core/PhptTestCase.java
b/src/com/mostc/pftt/model/core/PhptTestCase.java
index 2f323eb9..b037991c 100644
--- a/src/com/mostc/pftt/model/core/PhptTestCase.java
+++ b/src/com/mostc/pftt/model/core/PhptTestCase.java
@@ -355,13 +355,13 @@ public class PhptTestCase extends TestCase {
section_text = new HashMap<EPhptSection,String>();
}
- /** makes the test case name standard (all lowercase and using / and never \\)
+ /** makes the test case name standard (using / and never \\)
*
* @param name
* @return
*/
public static String normalizeTestCaseName(String name) {
- return FileSystemScenario.toUnixPath(name).toLowerCase();
+ return FileSystemScenario.toUnixPath(name);
}
public PhptSourceTestPack getTestPack() {