mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-12-27 12:12:28 +01:00
12 lines
211 B
Go
12 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)
|
|
}
|