From 4b685a7939609a538e1f12b85c86cde4571dded1 Mon Sep 17 00:00:00 2001 From: zongz Date: Wed, 13 Nov 2024 18:59:10 +0800 Subject: [PATCH] fix: fix test cases Signed-off-by: zongz --- pkg/client/pull_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/client/pull_test.go b/pkg/client/pull_test.go index 5dabcbf8..e0eb5ad5 100644 --- a/pkg/client/pull_test.go +++ b/pkg/client/pull_test.go @@ -180,7 +180,7 @@ func testPullWithModSpec(t *testing.T) { WithLocalPath(pulledPath), WithPullSourceUrl("oci://ghcr.io/kcl-lang/helloworld?tag=0.1.4&mod=subhelloworld:0.0.2"), ) - assert.Equal(t, err.Error(), "subhelloworld:0.0.2' not found") + assert.Equal(t, err.Error(), "kcl.mod with package 'subhelloworld:0.0.2'") } func testPullWithOnlySpec(t *testing.T) {