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