Tests: a type's records are capped at 1024, a lone reference is found through padding and a format-only object, null clears a preset pointer, and errors repeat per call

This commit is contained in:
2026-09-15 17:35:04 +02:00
parent bbe6c5b1d9
commit ef00000436
3 changed files with 50 additions and 19 deletions
+7
View File
@@ -118,6 +118,13 @@ func TestFakeIsSafeForConcurrentUse(t *testing.T) {
return
}
tmpl.Fake()
var u struct {
Last string `fake:"sv_SE.person.last"`
}
if err := f.FakeStruct(&u); err != nil {
t.Error(err)
return
}
}
}()
}