You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
218 B

package util
import (
"testing"
)
func TestReadInConfig(t *testing.T) {
if err := ReadInConfig(); err != nil {
t.Fatalf("could not read in config file: %v", err)
}
config := config
config.DataDir = "./test"
}