Commit 48f7459
committed
fix(git): fix Windows path separator mismatch in TestSetUserNative
fileContent() always joins folder+"/"+file, regardless of OS, but the
test built its mock's expected key with filepath.Join, which uses
backslashes on Windows. That mismatch made the mock call unexpected on
the windows-latest CI runner. Build the expected key the same way
fileContent() does.1 parent 73e7608 commit 48f7459
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2368 | 2368 | | |
2369 | 2369 | | |
2370 | 2370 | | |
2371 | | - | |
| 2371 | + | |
2372 | 2372 | | |
2373 | 2373 | | |
2374 | 2374 | | |
| |||
0 commit comments