From: Sergey Matveev Date: Sun, 13 Aug 2023 16:50:09 +0000 (+0300) Subject: Unify filepath usage X-Git-Tag: v8.9.0^2~3 X-Git-Url: http://www.git.cypherpunks.ru/?p=nncp.git;a=commitdiff_plain;h=16b44ce6e0f7e3d668c8cf7edf0ecf0bb38e1a4c Unify filepath usage --- 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,