Commit 99c92d0
test: remove redundant MD5 regex loop in testSplitWithMd5Option
The loop verifying filenames match MD5 regex pattern is redundant because
the subsequent assertEquals($expectedHash, $basename) already verifies
that each filename equals the expected MD5 hash of the URL. Since md5()
always returns a 32-character hex string, the regex check adds no value.1 parent bbc4d03 commit 99c92d0
1 file changed
+1
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
| 112 | + | |
119 | 113 | | |
120 | 114 | | |
121 | 115 | | |
| |||
0 commit comments