aboutsummaryrefslogtreecommitdiffstats
path: root/ethdb/database_test.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-05-12 23:23:46 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-05-12 23:23:46 +0800
commit58d6ec689ff44232cd5d6a7cbbaad2d7a2cb44bd (patch)
treea5bfb1a0ade11c7f68d0322b9773e8c46571c455 /ethdb/database_test.go
parentf87094b660c95b547486e7439620e68f3d59c45f (diff)
parent899df30c24c85ca0b2dadd4cbb251a4ec5ca1a75 (diff)
downloaddexon-58d6ec689ff44232cd5d6a7cbbaad2d7a2cb44bd.tar
dexon-58d6ec689ff44232cd5d6a7cbbaad2d7a2cb44bd.tar.gz
dexon-58d6ec689ff44232cd5d6a7cbbaad2d7a2cb44bd.tar.bz2
dexon-58d6ec689ff44232cd5d6a7cbbaad2d7a2cb44bd.tar.lz
dexon-58d6ec689ff44232cd5d6a7cbbaad2d7a2cb44bd.tar.xz
dexon-58d6ec689ff44232cd5d6a7cbbaad2d7a2cb44bd.tar.zst
dexon-58d6ec689ff44232cd5d6a7cbbaad2d7a2cb44bd.zip
Merge pull request #933 from bas-vk/issue928
replaced path with platform aware filepath module
Diffstat (limited to 'ethdb/database_test.go')
-rw-r--r--ethdb/database_test.go4
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)
}