Lint Tests Passing
All checks were successful
Continuous Integration / CI (push) Successful in 1m40s

Made lint tests pass
This commit is contained in:
sjc
2025-05-08 00:36:03 -04:00
parent 1f5d003470
commit ada6d2d440
14 changed files with 39 additions and 39 deletions

View File

@@ -8,7 +8,7 @@ import (
func TestGetEquityData(t *testing.T) {
server := httptest.NewServer(http.HandlerFunc(func(rw http.ResponseWriter, req *http.Request) {
rw.Write([]byte(`{"context": "test", "data": {"symbol": "AAPL"}}`))
_,_ = rw.Write([]byte(`{"context": "test", "data": {"symbol": "AAPL"}}`))
}))
defer server.Close()
@@ -30,7 +30,7 @@ func TestGetEquityData(t *testing.T) {
func TestListEquities(t *testing.T) {
server := httptest.NewServer(http.HandlerFunc(func(rw http.ResponseWriter, req *http.Request) {
rw.Write([]byte(`{"context": "test", "data": {"items": [{"symbol": "AAPL"}, {"symbol": "GOOG"}]}}`))
_,_ = rw.Write([]byte(`{"context": "test", "data": {"items": [{"symbol": "AAPL"}, {"symbol": "GOOG"}]}}`))
}))
defer server.Close()
@@ -52,7 +52,7 @@ func TestListEquities(t *testing.T) {
func TestListActiveEquities(t *testing.T) {
server := httptest.NewServer(http.HandlerFunc(func(rw http.ResponseWriter, req *http.Request) {
rw.Write([]byte(`{"context": "test", "data": {"items": [{"symbol": "AAPL"}, {"symbol": "GOOG"}]}}`))
_,_ = rw.Write([]byte(`{"context": "test", "data": {"items": [{"symbol": "AAPL"}, {"symbol": "GOOG"}]}}`))
}))
defer server.Close()