1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-11-26 21:25:18 +01:00
ntfy/server/config_test.go
2021-12-18 22:02:36 -05:00

12 lines
217 B
Go

package server_test
import (
"github.com/stretchr/testify/assert"
"heckel.io/ntfy/server"
"testing"
)
func TestConfig_New(t *testing.T) {
c := server.NewConfig(":1234")
assert.Equal(t, ":1234", c.ListenHTTP)
}