Fix broken test

This commit is contained in:
Arturo Filastò 2020-06-03 13:13:15 +02:00
parent f2e62b7ad7
commit b095b41e19

View File

@ -28,6 +28,9 @@ func TestParseConfig(t *testing.T) {
if err != nil { if err != nil {
t.Error(err) t.Error(err)
} }
if config.Sharing.IncludeASN == false {
t.Error("network should be included")
}
} }
func TestUpdateConfig(t *testing.T) { func TestUpdateConfig(t *testing.T) {