X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/c6a3fa2cdbf7eb78964a5df7622482cdd8782d74..c29db3dbd0491119755db5d99443dac423b2681b:/hotline/transfer_test.go diff --git a/hotline/transfer_test.go b/hotline/transfer_test.go index fb3e0da..2bcee11 100644 --- a/hotline/transfer_test.go +++ b/hotline/transfer_test.go @@ -135,7 +135,7 @@ func Test_receiveFile(t *testing.T) { }, } fakeFileData := []byte{1, 2, 3} - b := testFile.BinaryMarshal() + b, _ := io.ReadAll(&testFile) b = append(b, fakeFileData...) return bytes.NewReader(b) }(),