From db421f47dcd67a86c72c4c63c6dd06cfb1032afe Mon Sep 17 00:00:00 2001 From: zongz Date: Fri, 15 Mar 2024 15:17:57 +0800 Subject: [PATCH] fix: fix windows cases Signed-off-by: zongz --- pkg/path/path_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/path/path_test.go b/pkg/path/path_test.go index 7249184a..6b8f73ea 100644 --- a/pkg/path/path_test.go +++ b/pkg/path/path_test.go @@ -31,7 +31,7 @@ func TestSanitizePath(t *testing.T) { }{ name: "Windows style path", input: "C:\\Program Files\\Test<:>*|", - expected: "C:\\Program Files\\Test______", + expected: "C:\\Program Files\\Test_____", }) }