Expect a grammar-only layout error, a bare record spelling and a Swedish title table

This commit is contained in:
2026-09-18 20:01:05 +02:00
parent 6b0a2a60a8
commit 2d08bf4b32
3 changed files with 9 additions and 3 deletions
+6
View File
@@ -413,4 +413,10 @@ func TestShippedUSTitleAgreesWithSex(t *testing.T) {
t.Errorf("en_US.person.prefix never drew %q in 3000 draws", want)
}
}
swedish := map[string]bool{"dr": true, "prof": true}
for i := 0; i < 50; i++ {
if got := fake(t, f, "sv_SE.title"); !swedish[got] {
t.Fatalf("sv_SE.title = %q, want an unsexed Swedish honorific", got)
}
}
}