diff options
Diffstat (limited to 'ethdb/database_test.go')
-rw-r--r-- | ethdb/database_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ethdb/database_test.go b/ethdb/database_test.go index 3cead8bcd..1979eaa65 100644 --- a/ethdb/database_test.go +++ b/ethdb/database_test.go @@ -2,13 +2,14 @@ package ethdb import ( "os" - "path" + + "path/filepath" "github.com/ethereum/go-ethereum/common" ) func newDb() *LDBDatabase { - file := path.Join("/", "tmp", "ldbtesttmpfile") + file := filepath.Join("/", "tmp", "ldbtesttmpfile") if common.FileExist(file) { os.RemoveAll(file) } |