mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-14 07:26:47 +00:00
General formatting config_test.go
This commit is contained in:
committed by
Adrian Gallagher
parent
bd5e3192c0
commit
83b0bad4e6
@@ -77,8 +77,6 @@ func TestCheckExchangeConfigValues(t *testing.T) {
|
||||
t.Errorf("Test failed. checkExchangeConfigValues.LoadConfig: %s", err.Error())
|
||||
}
|
||||
|
||||
checkExchangeConfigValues.Exchanges[0].AuthenticatedAPISupport = true
|
||||
|
||||
err3 := checkExchangeConfigValues.CheckExchangeConfigValues()
|
||||
if err3 != nil {
|
||||
t.Errorf("Test failed. checkExchangeConfigValues.CheckExchangeConfigValues: %s", err.Error())
|
||||
@@ -119,7 +117,7 @@ func TestReadConfig(t *testing.T) {
|
||||
readConfig := config.GetConfig()
|
||||
err := readConfig.ReadConfig()
|
||||
if err != nil {
|
||||
t.Error("Test failed. TestReadConfig" + err.Error())
|
||||
t.Error("Test failed. TestReadConfig " + err.Error())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -129,7 +127,7 @@ func TestLoadConfig(t *testing.T) {
|
||||
loadConfig := config.GetConfig()
|
||||
err := loadConfig.LoadConfig()
|
||||
if err != nil {
|
||||
t.Error("Test failed. TestLoadConfig" + err.Error())
|
||||
t.Error("Test failed. TestLoadConfig " + err.Error())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user