Fixed linter issues and added test files

This commit is contained in:
Ryan O'Hara-Reid
2017-07-27 16:02:12 +10:00
committed by Adrian Gallagher
parent f302efeb68
commit 7042da1e03
16 changed files with 230 additions and 39 deletions

27
main_test.go Normal file
View File

@@ -0,0 +1,27 @@
package main
import "testing"
func TestSetupBotExchanges(t *testing.T) {
// setupBotExchanges()
}
func TestMain(t *testing.T) {
// Nothing
}
func TestAdjustGoMaxProcs(t *testing.T) {
AdjustGoMaxProcs()
}
func TestHandleInterrupt(t *testing.T) {
HandleInterrupt()
}
func TestShutdown(t *testing.T) {
// Nothing
}
func TestSeedExchangeAccountInfo(t *testing.T) {
SeedExchangeAccountInfo(GetAllEnabledExchangeAccountInfo().Data)
}