]> Cypherpunks.ru repositories - nncp.git/commitdiff
Unify filepath usage
authorSergey Matveev <stargrave@stargrave.org>
Sun, 13 Aug 2023 16:50:09 +0000 (19:50 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 13 Aug 2023 18:32:25 +0000 (21:32 +0300)
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,