]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/toss_test.go
Replace TxFile with TxFileChunked
[nncp.git] / src / toss_test.go
index 4bb5980ac2cd6a0e0bb235085ee4e50b92d189d3..d11c58925d484ca904aead55bfe37745c6dbf58f 100644 (file)
@@ -199,6 +199,7 @@ func TestTossFile(t *testing.T) {
                                DefaultNiceFile,
                                src,
                                fileName,
+                               MaxFileSize,
                                1<<15,
                        ); err != nil {
                                t.Error(err)
@@ -273,6 +274,7 @@ func TestTossFileSameName(t *testing.T) {
                                DefaultNiceFile,
                                srcPath,
                                "samefile",
+                               MaxFileSize,
                                1<<15,
                        ); err != nil {
                                t.Error(err)