mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-02-11 06:38:27 -06:00
18 lines
278 B
Go
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)
|
|
})
|
|
}
|
|
}
|