Cleanup: rm/adjust non-needed println's/warnings

This commit is contained in:
Adrian Gallagher
2019-03-26 09:50:22 +11:00
parent c49cf18677
commit 5d891e70e9
3 changed files with 2 additions and 6 deletions

View File

@@ -1,7 +1,6 @@
package smsglobal
import (
"log"
"testing"
"github.com/thrasher-/gocryptotrader/communications/base"
@@ -65,7 +64,6 @@ func TestAddContact(t *testing.T) {
if err != nil {
t.Error("test failed - SMSGlobal AddContact() error", err)
}
log.Println(s.Contacts)
err = s.AddContact(Contact{Name: "StyleGherkin", Number: "1231424", Enabled: true})
if err == nil {
t.Error("test failed - SMSGlobal AddContact() error")

View File

@@ -1,13 +1,13 @@
package bitflyer
import (
"log"
"testing"
"github.com/thrasher-/gocryptotrader/common"
"github.com/thrasher-/gocryptotrader/config"
"github.com/thrasher-/gocryptotrader/currency"
exchange "github.com/thrasher-/gocryptotrader/exchanges"
log "github.com/thrasher-/gocryptotrader/logger"
)
// Please supply your own keys here for due diligence testing
@@ -77,7 +77,7 @@ func TestGetAddressInfoCA(t *testing.T) {
t.Error("test failed - Bitflyer - GetAddressInfoCA() error:", err)
}
if v.UnconfirmedBalance == 0 || v.ConfirmedBalance == 0 {
log.Println("WARNING!: Donation wallet is empty :( - please consider donating")
log.Warn("Donation wallet is empty :( - please consider donating")
}
}

View File

@@ -1,7 +1,6 @@
package main
import (
"log"
"testing"
"github.com/thrasher-/gocryptotrader/common"
@@ -236,7 +235,6 @@ func TestMapCurrenciesByExchange(t *testing.T) {
t.Fatal("Unexpected result")
}
log.Println(pairs)
if len(pairs) != 2 {
t.Fatal("Unexpected result")
}