Fix the test that has no sent list

This commit is contained in:
2026-10-24 18:55:13 +02:00
parent f6e78c837f
commit 3ad12f8ec7
-1
View File
@@ -503,7 +503,6 @@ func TestThePreviewNamesEveryHeldKind(t *testing.T) {
if _, err := take(ctx, open, "anchor", "hello-web", takeOptions{Yes: true}); err != nil {
t.Fatal(err)
}
*sent = nil // the take composed the node; what follows is judged from here
since := time.Now()
held := []link.Held{heldFile,
{ID: "notes.data", Module: "notes", Kind: "directory", Target: "/var/lib/notes", Since: since},