From b79dd188d916da7adbf448dc27b0c59a04e0938d Mon Sep 17 00:00:00 2001 From: Bas van Kervel Date: Tue, 12 May 2015 14:24:11 +0200 Subject: replaced several path.* with filepath.* which is platform independent --- ethdb/database_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ethdb/database_test.go') 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) } -- cgit v1.2.3