]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/toss_test.go
nncp-exec -nocompress/-use-tmp options
[nncp.git] / src / toss_test.go
index d269141cc5ca199b015f5e50e74375178ab0a6c9..8a16dd94512f184c87e60aef65e88f30c0f629be 100644 (file)
@@ -99,6 +99,8 @@ func TestTossExec(t *testing.T) {
                                []string{"arg0", "arg1"},
                                strings.NewReader("BODY\n"),
                                1<<15,
+                               false,
+                               false,
                        ); err != nil {
                                t.Error(err)
                                return false
@@ -449,7 +451,6 @@ func TestTossTrns(t *testing.T) {
                                Magic:   MagicNNCPPv3,
                                Type:    PktTypeTrns,
                                PathLen: blake2b.Size256,
-                               Path:    new([MaxPathSize]byte),
                        }
                        copy(pktTrans.Path[:], nodeOur.Id[:])
                        var dst bytes.Buffer