mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-12-24 06:18:40 +08:00
17 lines
349 B
Go
17 lines
349 B
Go
package config_test
|
|
|
|
import (
|
|
. "github.com/onsi/ginkgo/v2"
|
|
. "github.com/onsi/gomega"
|
|
"github.com/stv0g/cunicu/pkg/config"
|
|
)
|
|
|
|
var _ = Context("default", func() {
|
|
It("has a default hostname", func() {
|
|
err := config.InitDefaults()
|
|
Expect(err).To(Succeed())
|
|
|
|
Expect(config.DefaultInterfaceSettings.PeerDisc.Hostname).NotTo(BeEmpty())
|
|
})
|
|
})
|