]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/tx_test.go
Merge branch 'develop'
[nncp.git] / src / tx_test.go
index 4523b6343b8ba6ed17acea1b6f7662a82837af0d..2dccbc3d32eb341f1f657ad0d8a38b778c61f5f2 100644 (file)
@@ -22,7 +22,7 @@ import (
        "crypto/rand"
        "io"
        "os"
-       "path"
+       "path/filepath"
        "testing"
        "testing/quick"
 
@@ -63,7 +63,7 @@ func TestTx(t *testing.T) {
                nodeTgt := nodeTgtOur.Their()
                ctx := Ctx{
                        Spool:   spool,
-                       LogPath: path.Join(spool, "log.log"),
+                       LogPath: filepath.Join(spool, "log.log"),
                        Debug:   true,
                        Self:    nodeOur,
                        SelfId:  nodeOur.Id,