photoprism/internal/util/date_test.go

14 lines
229 B
Go
Raw Normal View History

package util
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestMonths(t *testing.T) {
assert.Equal(t, "Unknown", Months[0])
assert.Equal(t, "January", Months[1])
assert.Equal(t, "December", Months[12])
}