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

17 lines
226 B
Go

8 years ago
package main
import (
//"github.com/go-yaml/yaml"
//"io/ioutil"
"log"
"testing"
)
func TestConfig(t *testing.T) {
c, err := loadConfig("config_example.yaml")
if err != nil {
log.Fatal(err)
}
log.Printf("%+v", c)
}