wings/config/config_test.go
Jakob Schrettenbrunner 90e81d89eb add config_test.go
2017-06-26 21:04:11 +02:00

16 lines
275 B
Go

package config
import (
"testing"
"github.com/stretchr/testify/assert"
)
var configFile = "../config.example.json"
func TestLoadConfiguraiton(t *testing.T) {
err := LoadConfiguration(&configFile)
assert.Nil(t, err)
assert.Equal(t, Get().Web.ListenHost, "0.0.0.0")
}