Skip to content

Commit

Permalink
Resolving formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
harshitap26 committed Feb 13, 2025
1 parent bf3b245 commit becce62
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions api/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -633,8 +633,7 @@ func TestGet(t *testing.T) {
}))
defer ts.Close()

c, err := New(ts.URL, ClientOptions{
Timeout: 10 * time.Second}, true)
c, err := New(ts.URL, ClientOptions{Timeout: 10 * time.Second}, true)
if err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -833,10 +832,7 @@ func TestDelete(t *testing.T) {
}))
defer ts.Close()

c, err := New(ts.URL, ClientOptions{
Timeout: 10 * time.Second,
Insecure: true,
ShowHTTP: true}, true)
c, err := New(ts.URL, ClientOptions{Timeout: 10 * time.Second}, true)
if err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -902,10 +898,7 @@ func TestDoMethod(t *testing.T) {
}))
defer ts.Close()

c, err := New(ts.URL, ClientOptions{
Timeout: 10 * time.Second,
Insecure: true,
ShowHTTP: true}, true)
c, err := New(ts.URL, ClientOptions{Timeout: 10 * time.Second}, true)
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit becce62

Please sign in to comment.