Files
pgbackweb/internal/data/timezones_test.go
T
Luis Eduardo Jeréz Girón be391727d1 Add timezones slice
2024-07-21 17:17:49 -06:00

18 lines
272 B
Go

package data
import (
"testing"
"time"
"github.com/stretchr/testify/assert"
)
func TestLoadTimezones(t *testing.T) {
for _, tz := range Timezones {
t.Run(tz.Label, func(t *testing.T) {
_, err := time.LoadLocation(tz.TzCode)
assert.NoError(t, err)
})
}
}