diff --git a/pkg/client/client_test.go b/pkg/client/client_test.go index 2076c25c..d41141e1 100644 --- a/pkg/client/client_test.go +++ b/pkg/client/client_test.go @@ -651,7 +651,7 @@ func testCompileWithEntryFile(t *testing.T) { Source: downloader.Source{ Oci: &downloader.Oci{ Reg: "ghcr.io", - Repo: "kcl-lang/kcl2", + Repo: "kcl-lang/kcl1", Tag: "0.0.1", }, }, diff --git a/pkg/client/test_data/resolve_deps/my_kcl_compile/kcl.mod.lock b/pkg/client/test_data/resolve_deps/my_kcl_compile/kcl.mod.lock index b6a76aec..3b7116d3 100644 --- a/pkg/client/test_data/resolve_deps/my_kcl_compile/kcl.mod.lock +++ b/pkg/client/test_data/resolve_deps/my_kcl_compile/kcl.mod.lock @@ -3,7 +3,15 @@ name = "kcl1" full_name = "kcl1_0.0.1" version = "0.0.1" + sum = "c5bjxiHbwJqWCdBwXLOr9MydCTis3nJotrOzozkPsKo=" + reg = "ghcr.io" + repo = "kcl-lang/kcl1" + oci_tag = "0.0.1" [dependencies.kcl2] name = "kcl2" full_name = "kcl2_0.0.1" version = "0.0.1" + sum = "OiA7IJfhi9bLp3d+Phc6ncgWE8XwpXqkGvhF5BOpf34=" + reg = "ghcr.io" + repo = "kcl-lang/kcl2" + oci_tag = "0.0.1"