Commit 85fb1ba
fix: DefaultCleanMatcher.Match incorrectly returns null for same-name files in different directories (#170)
* Initial plan
* fix: match by RelativePath in DefaultCleanMatcher to handle same-name files in different dirs
Agent-Logs-Url: https://github.com/GeneralLibrary/GeneralUpdate/sessions/6c694de5-ffd1-4c1e-bff3-6dc8faf754fe
Co-authored-by: JusterZhu <11714536+JusterZhu@users.noreply.github.com>
* style: replace en dashes with hyphens in test comments
Agent-Logs-Url: https://github.com/GeneralLibrary/GeneralUpdate/sessions/6c694de5-ffd1-4c1e-bff3-6dc8faf754fe
Co-authored-by: JusterZhu <11714536+JusterZhu@users.noreply.github.com>
* fix: use null-safe string.Equals and remove redundant RelativePath guard in DefaultCleanMatcher.Match
Agent-Logs-Url: https://github.com/GeneralLibrary/GeneralUpdate/sessions/a7ee21b0-87cc-4658-a34b-b23a6338f938
Co-authored-by: JusterZhu <11714536+JusterZhu@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JusterZhu <11714536+JusterZhu@users.noreply.github.com>1 parent 6c3f513 commit 85fb1ba
2 files changed
Lines changed: 33 additions & 2 deletions
File tree
- src/c#
- DifferentialTest/Matchers
- GeneralUpdate.Differential/Matchers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
185 | 215 | | |
186 | 216 | | |
187 | 217 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
0 commit comments