Skip to content

Commit

Permalink
fix: fix test case
Browse files Browse the repository at this point in the history
Signed-off-by: zongz <[email protected]>
  • Loading branch information
zong-zhe committed May 27, 2024
1 parent 123e426 commit 4cb17d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ func TestUpdateWithNoSumCheck(t *testing.T) {
err = kpmcli.UpdateDeps(kclPkg)
assert.Equal(t, err, nil)
assert.Equal(t, utils.DirExists(filepath.Join(pkgPath, "kcl.mod.lock")), true)
assert.Equal(t, buf.String(), "adding 'helloworld' with version '0.1.1'\n")
assert.Equal(t, buf.String(), "")

defer func() {
_ = os.Remove(filepath.Join(pkgPath, "kcl.mod.lock"))
Expand Down

0 comments on commit 4cb17d4

Please sign in to comment.