The last setuid search's start and each library's own take ask are keys of their own, which no number of other acts moves (issue 774, ADR 0563 §2, §4; rev-l3 round 1)

This commit is contained in:
2026-10-28 20:35:33 +01:00
parent a5d1f7dde4
commit 2a0c428ef9
3 changed files with 86 additions and 10 deletions
+9
View File
@@ -83,5 +83,14 @@ func TestALibrarySaysItsWaitWithoutWordsToParse(t *testing.T) {
if len(asked) != 1 {
t.Fatalf("the take was asked again after its ask ended: %d", len(asked))
}
// Kept in a key of its own (rev-l3 round 1): the acts gone from the record never make it ask again.
keys, _ := state.Keys("act.")
for _, k := range keys {
_ = state.Delete(k)
}
askTakes(h, waiting, nil)
if len(asked) != 1 {
t.Fatalf("the take was asked again with the acts gone: %d", len(asked))
}
})
}