Lint Tests Passing
All checks were successful
Continuous Integration / CI (push) Successful in 1m40s
All checks were successful
Continuous Integration / CI (push) Successful in 1m40s
Made lint tests pass
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
func TestListWarrants(t *testing.T) {
|
||||
// Create a test server that returns a dummy response
|
||||
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
w.Write([]byte(`{"data": {"items": []}, "context": "/instruments/warrants"}`))
|
||||
_,_ = w.Write([]byte(`{"data": {"items": []}, "context": "/instruments/warrants"}`))
|
||||
}))
|
||||
defer ts.Close()
|
||||
|
||||
@@ -33,7 +33,7 @@ func TestListWarrants(t *testing.T) {
|
||||
func TestGetWarrant(t *testing.T) {
|
||||
// Create a test server that returns a dummy response
|
||||
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
w.Write([]byte(`{"data": {"symbol": "SEPAW"}, "context": "/instruments/warrants/SEPAW"}`))
|
||||
_,_ = w.Write([]byte(`{"data": {"symbol": "SEPAW"}, "context": "/instruments/warrants/SEPAW"}`))
|
||||
}))
|
||||
defer ts.Close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user