Files
gluetun/internal/constants/splash_test.go

18 lines
286 B
Go
Raw Normal View History

2020-02-25 11:46:52 +00:00
package constants
import (
"testing"
"time"
"github.com/stretchr/testify/assert"
)
func Test_AnnoucementExpiration(t *testing.T) {
t.Parallel()
if len(AnnoucementExpiration) == 0 {
return
}
_, err := time.Parse("2006-01-02", AnnoucementExpiration)
assert.NoError(t, err)
}