1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-07-20 03:57:29 +02:00
ntfy/config/config_test.go
2021-12-07 12:23:42 -05:00

13 lines
211 B
Go

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