diff options
Diffstat (limited to 'ethdb/database_test.go')
-rw-r--r-- | ethdb/database_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethdb/database_test.go b/ethdb/database_test.go index 3cead8bcd..a80976a9a 100644 --- a/ethdb/database_test.go +++ b/ethdb/database_test.go @@ -2,13 +2,13 @@ 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) } |