Skip to content

Commit

Permalink
feat: generated
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Nov 18, 2023
1 parent c540666 commit bd14747
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func main() {
ID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
}),
Name: cloudflare.F("example.com"),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypePartial),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypeFull),
})
if err != nil {
panic(err.Error())
Expand Down
6 changes: 3 additions & 3 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func TestContextCancel(t *testing.T) {
ID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
}),
Name: cloudflare.F("example.com"),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypePartial),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypeFull),
})
if err == nil || res != nil {
t.Error("Expected there to be a cancel error and for the response to be nil")
Expand Down Expand Up @@ -74,7 +74,7 @@ func TestContextCancelDelay(t *testing.T) {
ID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
}),
Name: cloudflare.F("example.com"),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypePartial),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypeFull),
})
if err == nil || res != nil {
t.Error("expected there to be a cancel error and for the response to be nil")
Expand Down Expand Up @@ -109,7 +109,7 @@ func TestContextDeadline(t *testing.T) {
ID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
}),
Name: cloudflare.F("example.com"),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypePartial),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypeFull),
})
if err == nil || res != nil {
t.Error("expected there to be a deadline error and for the response to be nil")
Expand Down
2 changes: 1 addition & 1 deletion usage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestUsage(t *testing.T) {
ID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
}),
Name: cloudflare.F("example.com"),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypePartial),
Type: cloudflare.F(cloudflare.ZoneNewParamsTypeFull),
})
if err != nil {
t.Error(err)
Expand Down

0 comments on commit bd14747

Please sign in to comment.