Keep every legal compound surname reachable, and tighten the README wording

This commit is contained in:
Mikael Göransson
2026-08-27 23:49:53 +02:00
committed by lilleman-tw
parent cd25aea6f1
commit e73cb398ac
4 changed files with 21 additions and 14 deletions
+2 -1
View File
@@ -231,7 +231,8 @@ func TestShippedStreetComposition(t *testing.T) {
}
func TestShippedLastNameComposition(t *testing.T) {
// last is a choice of patronymic {first}sson templates and literal surnames.
// last is a choice of patronymic {first}sson templates, compound
// {first}{last} templates and literal surnames.
f := newFakes(t, "data/sv_SE", WithSeed(6))
for i := 0; i < 300; i++ {
if s := fake(t, f, "person.last"); !swedishName.MatchString(s) {