X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Ftx_test.go;h=9f8d7506b652ee04d25dd739d8a573e0a64ca079;hb=HEAD;hp=4523b6343b8ba6ed17acea1b6f7662a82837af0d;hpb=beefc4fd7137435caf9c653633ab938947df07f8;p=nncp.git 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,