mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
Split common package more and QA
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"io/ioutil"
|
||||
"testing"
|
||||
|
||||
"github.com/thrasher-/gocryptotrader/common"
|
||||
)
|
||||
|
||||
func TestPromptForConfigEncryption(t *testing.T) {
|
||||
@@ -87,7 +86,7 @@ func TestDecryptConfigFile(t *testing.T) {
|
||||
|
||||
func TestConfirmConfigJSON(t *testing.T) {
|
||||
var result interface{}
|
||||
testConfirmJSON, err := common.ReadFile(ConfigTestFile)
|
||||
testConfirmJSON, err := ioutil.ReadFile(ConfigTestFile)
|
||||
if err != nil {
|
||||
t.Errorf("Test failed. testConfirmJSON: %s", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user