From 9927b97c01ee114d234492e548d5790c82320c88 Mon Sep 17 00:00:00 2001 From: zongz Date: Wed, 13 Nov 2024 17:53:32 +0800 Subject: [PATCH] fix: fix test case 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 b99138f2..5dabcbf8 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(), "version mismatch: 0.0.1 != 0.0.2, version 0.0.2 not found") + assert.Equal(t, err.Error(), "subhelloworld:0.0.2' not found") } func testPullWithOnlySpec(t *testing.T) {