mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-12-24 17:33:26 +03:00
13 lines
217 B
Go
13 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)
|
|
}
|