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

@@ -9,7 +9,7 @@ import (
func TestListCryptocurrencies(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/cryptocurrencies"}`))
_,_ = w.Write([]byte(`{"data": {"items": []}, "context": "/instruments/cryptocurrencies"}`))
}))
defer ts.Close()
@@ -33,7 +33,7 @@ func TestListCryptocurrencies(t *testing.T) {
func TestGetCryptocurrency(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": "BTC/USD"}, "context": "/instruments/cryptocurrencies/BTC%2FUSD"}`))
_,_ = w.Write([]byte(`{"data": {"symbol": "BTC/USD"}, "context": "/instruments/cryptocurrencies/BTC%2FUSD"}`))
}))
defer ts.Close()