build: resolve 8.3 filename format to long one on Windows

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2024-01-25 11:58:47 +01:00
committed by CrazyMax
parent eabbee797b
commit fb2c62a038
9 changed files with 57 additions and 11 deletions

View File

@ -7,5 +7,5 @@ import (
)
func TestSanitizePathWindows(t *testing.T) {
assert.Equal(t, "C:\\Users\\foobar", sanitizePath("C:/Users/foobar"))
assert.Equal(t, "C:\\Users\\foobar", SanitizePath("C:/Users/foobar"))
}