From cb101f93396b8cb8e5256ad123565bdd3e11985f Mon Sep 17 00:00:00 2001 From: zongz Date: Wed, 20 Nov 2024 11:52:47 +0800 Subject: [PATCH] fix: fix test case Signed-off-by: zongz --- pkg/client/client_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/client/client_test.go b/pkg/client/client_test.go index 4c947ca0..f587b815 100644 --- a/pkg/client/client_test.go +++ b/pkg/client/client_test.go @@ -561,8 +561,8 @@ func testResolveDepsVendorMode(t *testing.T) { kpm_home := filepath.Join(testDir, "kpm_home") home_path := filepath.Join(testDir, "my_kcl_resolve_deps_vendor_mode") os.RemoveAll(home_path) - kcl1Sum, _ := utils.HashDir(filepath.Join(kpm_home, "kcl1")) - kcl2Sum, _ := utils.HashDir(filepath.Join(kpm_home, "kcl2")) + kcl1Sum, _ := utils.HashDir(filepath.Join(kpm_home, "kcl1_0.0.1")) + kcl2Sum, _ := utils.HashDir(filepath.Join(kpm_home, "kcl2_0.0.1")) depKcl1 := pkg.Dependency{ Name: "kcl1",