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:
@@ -14,7 +14,7 @@ func TestGetAccountBalances(t *testing.T) {
|
||||
t.Errorf("got: %s, want: /accounts/123/balances", req.URL.String())
|
||||
}
|
||||
// Send response to be tested
|
||||
rw.Write([]byte(`{"data": {"account-number": "123", "cash-balance": "1000"}, "context": "test"}`))
|
||||
_,_ = rw.Write([]byte(`{"data": {"account-number": "123", "cash-balance": "1000"}, "context": "test"}`))
|
||||
}))
|
||||
// Close the server when test finishes
|
||||
defer server.Close()
|
||||
|
||||
Reference in New Issue
Block a user