spf13--viper/remote/remote_test.go

14 lines
189 B
Go
Raw Normal View History

package remote
import (
"testing"
"github.com/spf13/viper"
)
func Test_init(t *testing.T) {
if viper.RemoteConfig == nil {
t.Fatal("viper.RemoteConfig() is nil, want non nil")
}
}