spf13--viper/remote/remote_test.go
Alexander Voykov 0fab984867 Add test on initialization of viper/remote
This test can detect errors with dependencies like #658.
2019-03-21 15:39:44 +03:00

13 lines
189 B
Go

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")
}
}