Commit d3d7275
committed
fix: flaky RenameRegex fullpath test matching GUID in temp path
The Scope_fullpath_matches_entire_path_within_directory test used "abc"
as its regex pattern. Since TempDirectory paths contain hex GUIDs, "abc"
could randomly appear in the directory portion, causing the fullpath
replacement to alter the directory and trigger PathGuard. Changed to
"klm" (non-hex chars) so it can never match the temp directory path.
Co-Authored-By: Rooty1 parent cf11820 commit d3d7275
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
73 | 75 | | |
74 | | - | |
| 76 | + | |
75 | 77 | | |
76 | | - | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
80 | | - | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
0 commit comments