Tests: a record read whole or as an operand still points back at itself, and Record under concurrent use

This commit is contained in:
2026-09-04 09:46:39 +02:00
parent 79827a66d6
commit b99526aeb8
3 changed files with 18 additions and 8 deletions
+4
View File
@@ -108,6 +108,10 @@ func TestFakeIsSafeForConcurrentUse(t *testing.T) {
return
}
f.List()
if _, err := f.Record("sv_SE.person"); err != nil {
t.Error(err)
return
}
tmpl, err := f.NewTemplate("{/sv_SE.person.last}")
if err != nil {
t.Error(err)