Skip to content

Commit

Permalink
fix: fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: zongz <[email protected]>
  • Loading branch information
zong-zhe committed Apr 28, 2024
1 parent 7bedfd1 commit f4ab30a
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 @@ -1444,7 +1444,7 @@ func TestAddWithOciDownloader(t *testing.T) {
path := getTestDir("test_oci_downloader")
assert.Equal(t, err, nil)

kpmCli.depDownloader = downloader.NewOciDownloader("linux/amd64")
kpmCli.DepDownloader = downloader.NewOciDownloader("linux/amd64")
kpkg, err := kpmCli.LoadPkgFromPath(filepath.Join(path, "add_dep", "pkg"))
assert.Equal(t, err, nil)
dep := pkg.Dependency{
Expand Down Expand Up @@ -1478,7 +1478,7 @@ func TestRunWithOciDownloader(t *testing.T) {
path := getTestDir("test_oci_downloader")
assert.Equal(t, err, nil)

kpmCli.depDownloader = downloader.NewOciDownloader("linux/amd64")
kpmCli.DepDownloader = downloader.NewOciDownloader("linux/amd64")

res, err := kpmCli.RunWithOpts(
opt.WithEntries([]string{filepath.Join(path, "run_pkg", "pkg", "main.k")}),
Expand Down

0 comments on commit f4ab30a

Please sign in to comment.