hanayo/vendor/github.com/pariz/gountries/subdivision_test.go
2019-02-23 13:29:15 +00:00

18 lines
219 B
Go

package gountries
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestSubdivisions(t *testing.T) {
se, _ := query.FindCountryByAlpha("SWE")
subd := se.SubDivisions()
assert.Len(t, subd, 21)
}