mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-14 07:26:47 +00:00
Cleanup: rm/adjust non-needed println's/warnings
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user