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=16b44ce6e0f7e3d668c8cf7edf0ecf0bb38e1a4c;hpb=2c8c42466ffd977652d3468681e2c69bdc8fae6d 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,