aboutsummaryrefslogtreecommitdiffstats
path: root/utils/merkletrie/filesystem/node_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-07-19 01:26:16 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2017-07-19 01:26:16 +0200
commit8210c82bcd6ff7f7c66b8f5fc1be00307fe59c42 (patch)
tree8b6fbb9401c43133dfac280eb36ea49df6d26e10 /utils/merkletrie/filesystem/node_test.go
parentacb1a5f7a47e4759bbe1592a0a58571bda6289e7 (diff)
downloadgo-git-8210c82bcd6ff7f7c66b8f5fc1be00307fe59c42.tar.gz
utils: merkletrie filesystem based on path, and not in filepath
Diffstat (limited to 'utils/merkletrie/filesystem/node_test.go')
-rw-r--r--utils/merkletrie/filesystem/node_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/merkletrie/filesystem/node_test.go b/utils/merkletrie/filesystem/node_test.go
index 6d764ab..42dd82e 100644
--- a/utils/merkletrie/filesystem/node_test.go
+++ b/utils/merkletrie/filesystem/node_test.go
@@ -4,7 +4,7 @@ import (
"bytes"
"io"
"os"
- "path/filepath"
+ "path"
"testing"
. "gopkg.in/check.v1"
@@ -134,7 +134,7 @@ func (s *NoderSuite) TestDiffChangeModeNotRelevant(c *C) {
}
func (s *NoderSuite) TestDiffDirectory(c *C) {
- dir := filepath.Join("qux", "bar")
+ dir := path.Join("qux", "bar")
fsA := memfs.New()
fsA.MkdirAll(dir, 0644)