Files
pgbackweb/internal/staticdata/timezones_test.go
Luis Eduardo Jeréz Girón 2648db0e01 Rename data to staticdata
2024-07-21 22:51:57 -06:00

18 lines
278 B
Go

package staticdata
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)
})
}
}