docs: todo
commitaf1514b627e5d130690739a0a3b09c696d9ef68f
authorCarlos Alexandro Becker <caarlos0@users.noreply.github.com>
dateTue 22 Jul 2025, 20:43 (1 year ago)
parent7e7a69f
internal/csync/slices_test.go+1
@@ -70,6 +70,7 @@ func TestLazySlice_EarlyBreak(t *testing.T) {
7070
7171 data := []string{"a", "b", "c", "d", "e"}
7272 s := NewLazySlice(func() []string {
73+ // TODO: use synctest when new Go is out.
7374 time.Sleep(10 * time.Millisecond) // Small delay to ensure loading happens
7475 return data
7576 })