Skip to content

Commit

Permalink
Add pulumi test case
Browse files Browse the repository at this point in the history
  • Loading branch information
cardil committed Jun 2, 2023
1 parent cb5eac6 commit f59df74
Show file tree
Hide file tree
Showing 3 changed files with 802 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pkg/ghet/download/plan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ var fs embed.FS
func TestCreatePlan(t *testing.T) {
t.Parallel()
testCases := []createPlanTestCase{{
name: "pulumi/pulumi",
want: result{version: "v3.69.0", Plan: download.Plan{
Assets: []ghapi.Asset{{
Name: "pulumi-3.69.0-checksums.txt",
ContentType: "raw",
Size: 594,
}, {
Name: "pulumi-v3.69.0-darwin-arm64.tar.gz",
ContentType: "raw",
Size: 137_128_035,
}},
}},
}, {
name: "knative-sandbox/kn-plugin-event!!kn-event",
want: result{version: "knative-v1.9.1", Plan: download.Plan{
Assets: []ghapi.Asset{{
Expand Down
Loading

0 comments on commit f59df74

Please sign in to comment.