From 8b3a380d8ef0f44a3c35f4028fb138770bd5142a Mon Sep 17 00:00:00 2001 From: zongz Date: Sun, 8 Oct 2023 10:52:20 +0800 Subject: [PATCH] fix: fix failed test case Signed-off-by: zongz --- pkg/client/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/client/client_test.go b/pkg/client/client_test.go index 3ad87411..1a485811 100644 --- a/pkg/client/client_test.go +++ b/pkg/client/client_test.go @@ -98,7 +98,7 @@ func TestDownloadLatestOci(t *testing.T) { assert.Equal(t, dep.Name, "k8s") assert.Equal(t, dep.FullName, "k8s_1.28") assert.Equal(t, dep.Version, "1.28") - assert.Equal(t, dep.Sum, "xnYM1FWHAy3m+KcQMQb2rjZouTxumqYt6FGZpu2T4yM=") + assert.Equal(t, dep.Sum, "aTxPUVZyr9MdiB3YdiY/8pCh9sC55yURnZdGlJsKG6Q=") assert.NotEqual(t, dep.Source.Oci, nil) assert.Equal(t, dep.Source.Oci.Reg, "ghcr.io") assert.Equal(t, dep.Source.Oci.Repo, "kcl-lang/k8s")