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) {