diff options
Diffstat (limited to 'hotline/transaction_handlers_test.go')
| -rw-r--r-- | hotline/transaction_handlers_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hotline/transaction_handlers_test.go b/hotline/transaction_handlers_test.go index ebb4a95..0e2c949 100644 --- a/hotline/transaction_handlers_test.go +++ b/hotline/transaction_handlers_test.go @@ -7,6 +7,7 @@ import ( "io/fs" "math/rand" "os" + "path/filepath" "strings" "testing" "time" @@ -630,7 +631,7 @@ func TestHandleGetFileInfo(t *testing.T) { Config: &Config{ FileRoot: func() string { path, _ := os.Getwd() - return path + "/test/config/Files" + return filepath.Join(path, "/test/config/Files") }(), }, }, |