mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-26 15:10:25 +00:00
maps: expansion of Key concept (#1349)
* moves everything to use single map keys, also breaks * full rollout * tests * fix a little bug * minor test fixups * Fix Key use * rm 🔑 from 🔑 struct name
This commit is contained in:
@@ -356,7 +356,7 @@ func TestSettingsPrint(t *testing.T) {
|
||||
|
||||
var unsupportedDefaultConfigExchanges = []string{
|
||||
"itbit", // due to unsupported API
|
||||
"poloniex", // outdated API // TODO remove once updated
|
||||
"poloniex", // poloniex has dropped support for the API GCT has implemented //TODO: drop this when supported
|
||||
}
|
||||
|
||||
func TestGetDefaultConfigurations(t *testing.T) {
|
||||
|
||||
@@ -299,7 +299,7 @@ func TestCheckEventCondition(t *testing.T) {
|
||||
}
|
||||
m.m.Lock()
|
||||
err = m.checkEventCondition(&m.events[0])
|
||||
if err != nil && !strings.Contains(err.Error(), "no tickers for") {
|
||||
if err != nil && !strings.Contains(err.Error(), "no tickers associated") {
|
||||
t.Error(err)
|
||||
} else if err == nil {
|
||||
t.Error("expected error")
|
||||
|
||||
Reference in New Issue
Block a user