Skip to content

Commit

Permalink
fix: fix test case testCompileWithEntryFile
Browse files Browse the repository at this point in the history
Signed-off-by: zongz <[email protected]>
  • Loading branch information
zong-zhe committed Nov 20, 2024
1 parent cb101f9 commit 0ab9a8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ func testCompileWithEntryFile(t *testing.T) {
entry_file := filepath.Join(home_path, "main.k")
os.RemoveAll(vendor_path)

kcl1Sum, _ := utils.HashDir(filepath.Join(kpm_home, "kcl1"))
kcl1Sum, _ := utils.HashDir(filepath.Join(kpm_home, "kcl1_0.0.1"))
depKcl1 := pkg.Dependency{
Name: "kcl1",
FullName: "kcl1_0.0.1",
Expand All @@ -656,7 +656,7 @@ func testCompileWithEntryFile(t *testing.T) {
},
},
}
kcl2Sum, _ := utils.HashDir(filepath.Join(kpm_home, "kcl2"))
kcl2Sum, _ := utils.HashDir(filepath.Join(kpm_home, "kcl2_0.0.1"))
depKcl2 := pkg.Dependency{
Name: "kcl2",
FullName: "kcl2_0.0.1",
Expand Down

0 comments on commit 0ab9a8a

Please sign in to comment.