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:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
func TestGetPositions(t *testing.T) {
|
||||
server := httptest.NewServer(http.HandlerFunc(func(rw http.ResponseWriter, req *http.Request) {
|
||||
rw.Write([]byte(`{"context": "test", "data": {"items": [{"symbol": "AAPL", "quantity": "100"}]}}`))
|
||||
_,_ = rw.Write([]byte(`{"context": "test", "data": {"items": [{"symbol": "AAPL", "quantity": "100"}]}}`))
|
||||
}))
|
||||
defer server.Close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user