Commit cfb0afc
Fix culture-dependent test assertion for FormatTimeWithExplicitFormatString
Changed assertion to use regex pattern that matches both 12-hour and 24-hour time formats.
The test was failing in en-US culture where "T" format produces "1:02:03 AM" instead of "01:02:03".
Co-authored-by: stephentoub <[email protected]>1 parent 0661cf8 commit cfb0afc
File tree
1 file changed
+2
-1
lines changed- src/libraries/System.Private.Xml/tests/Xslt/XslCompiledTransformApi
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
| 185 | + | |
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
| |||
0 commit comments