Skip to content

Commit

Permalink
fix: fix test case
Browse files Browse the repository at this point in the history
Signed-off-by: zongz <zongzhe1024@163.com>
  • Loading branch information
zong-zhe committed Nov 13, 2024
1 parent bfd2798 commit ad1318d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkg/client/add_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func testAddWithModSpec(t *testing.T) {
name: "TestAddOciWithModSpec",
pkgSubPath: "oci",
sourceUrl: "oci://ghcr.io/kcl-lang/helloworld?tag=0.1.4&mod=subhelloworld:0.0.1",
msg: "adding dependency 'subhelloworld'add dependency 'subhelloworld:0.0.1' successfully",
msg: "downloading 'kcl-lang/helloworld:0.1.4' from 'ghcr.io/kcl-lang/helloworld:0.1.4'adding dependency 'subhelloworld'add dependency 'subhelloworld:0.0.1' successfully",
},
{
name: "TestAddGitWithModSpec",
Expand All @@ -42,7 +42,7 @@ func testAddWithModSpec(t *testing.T) {
name: "TestAddGitWithoutModFileWithModSpec",
pkgSubPath: "git_mod_1",
sourceUrl: "git://github.com/kcl-lang/flask-demo-kcl-manifests.git?commit=5ab0fff&mod=cc",
msg: "cloning 'https://github.com/kcl-lang/flask-demo-kcl-manifests.git' with commit '5ab0fff'adding dependency 'cc'add dependency 'cc:0.0.1' successfull",
msg: "adding dependency 'cc'add dependency 'cc:0.0.1' successfully",
},
{
name: "TestAddLocalWithModSpec",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ edition = "v0.10.0"
version = "0.0.1"

[dependencies]
cc = { git = "https://github.com/kcl-lang/flask-demo-kcl-manifests.git", commit = "8308200", version = "0.0.1" }
cc = { git = "https://github.com/kcl-lang/flask-demo-kcl-manifests.git", commit = "5ab0fff", version = "0.0.1" }
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
full_name = "cc_0.0.1"
version = "0.0.1"
url = "https://github.com/kcl-lang/flask-demo-kcl-manifests.git"
commit = "8308200"
commit = "5ab0fff"

0 comments on commit ad1318d

Please sign in to comment.