- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for mustContainData (0.46 sec)
-
src/os/readfrom_linux_test.go
go func() { client.Write(data) client.Close() close(done) }() return dst, server, data, hook, func() { <-done } } // mustContainData ensures that the specified file contains exactly the // specified data. func mustContainData(t *testing.T, f *File, data []byte) { t.Helper() got := make([]byte, len(data)) if _, err := io.ReadFull(f, got); err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:49:26 UTC 2024 - 20.3K bytes - Viewed (0)