X-Git-Url: http://www.git.cypherpunks.ru/?p=nncp.git;a=blobdiff_plain;f=src%2Ftx_test.go;fp=src%2Ftx_test.go;h=2dccbc3d32eb341f1f657ad0d8a38b778c61f5f2;hp=4523b6343b8ba6ed17acea1b6f7662a82837af0d;hb=a13dfe188901835b627b02e1fc25638f5c9f68d5;hpb=9edd0bca196b4a7722ee64c27a8a2864f0677ad8 diff --git a/src/tx_test.go b/src/tx_test.go index 4523b63..2dccbc3 100644 --- a/src/tx_test.go +++ b/src/tx_test.go @@ -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,