aboutsummaryrefslogtreecommitdiffstats
path: root/ethdb
diff options
context:
space:
mode:
authorBas van Kervel <basvankervel@ziggo.nl>2015-05-12 20:24:11 +0800
committerBas van Kervel <basvankervel@ziggo.nl>2015-05-12 20:24:11 +0800
commitb79dd188d916da7adbf448dc27b0c59a04e0938d (patch)
tree7980ae848a916171fbc65fb958eebdf0c98406dc /ethdb
parentd82caa5ce38705d2dcdc2ba15c93df9325504e34 (diff)
downloadgo-tangerine-b79dd188d916da7adbf448dc27b0c59a04e0938d.tar
go-tangerine-b79dd188d916da7adbf448dc27b0c59a04e0938d.tar.gz
go-tangerine-b79dd188d916da7adbf448dc27b0c59a04e0938d.tar.bz2
go-tangerine-b79dd188d916da7adbf448dc27b0c59a04e0938d.tar.lz
go-tangerine-b79dd188d916da7adbf448dc27b0c59a04e0938d.tar.xz
go-tangerine-b79dd188d916da7adbf448dc27b0c59a04e0938d.tar.zst
go-tangerine-b79dd188d916da7adbf448dc27b0c59a04e0938d.zip
replaced several path.* with filepath.* which is platform independent
Diffstat (limited to 'ethdb')
-rw-r--r--ethdb/database_test.go5
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)
}