aboutsummaryrefslogtreecommitdiff
path: root/weed/util/bounded_tree/bounded_tree_test.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-07-14 07:34:16 -0700
committerChris Lu <chris.lu@gmail.com>2020-07-14 07:34:16 -0700
commitddec7b2bb986a352cc999ac4e350c8f3be87eacd (patch)
tree7d357fd00f6a92ed218e047de47ae2ae1f3d01de /weed/util/bounded_tree/bounded_tree_test.go
parent4f6096c7f08d1a2468451684d44675310512524d (diff)
downloadseaweedfs-ddec7b2bb986a352cc999ac4e350c8f3be87eacd.tar.xz
seaweedfs-ddec7b2bb986a352cc999ac4e350c8f3be87eacd.zip
go fmt
Diffstat (limited to 'weed/util/bounded_tree/bounded_tree_test.go')
-rw-r--r--weed/util/bounded_tree/bounded_tree_test.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/weed/util/bounded_tree/bounded_tree_test.go b/weed/util/bounded_tree/bounded_tree_test.go
index 2328f0497..0b9c3177a 100644
--- a/weed/util/bounded_tree/bounded_tree_test.go
+++ b/weed/util/bounded_tree/bounded_tree_test.go
@@ -9,9 +9,7 @@ import (
"github.com/chrislusf/seaweedfs/weed/util"
)
-
var (
-
visitFn = func(path util.FullPath) (childDirectories []string, err error) {
fmt.Printf(" visit %v ...\n", path)
switch path {
@@ -37,14 +35,11 @@ var (
return nil, nil
}
-
printMap = func(m map[string]*Node) {
for k := range m {
println(" >", k)
}
}
-
-
)
func TestBoundedTree(t *testing.T) {