Skip to content

Commit

Permalink
fix: fix test cases
Browse files Browse the repository at this point in the history
Signed-off-by: zongz <[email protected]>
  • Loading branch information
zong-zhe committed Nov 13, 2024
1 parent 7e4afbd commit 4b685a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/pull_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4b685a7

Please sign in to comment.