summaryrefslogtreecommitdiff
path: root/src/pkg/path/path_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/path/path_test.go')
-rw-r--r--src/pkg/path/path_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pkg/path/path_test.go b/src/pkg/path/path_test.go
index 9036cc185..396d6db7d 100644
--- a/src/pkg/path/path_test.go
+++ b/src/pkg/path/path_test.go
@@ -186,9 +186,7 @@ func makeTree(t *testing.T) {
});
}
-func markTree(n *Node) {
- walkTree(n, "", func(path string, n *Node) { n.mark++ });
-}
+func markTree(n *Node) { walkTree(n, "", func(path string, n *Node) { n.mark++ }) }
func checkMarks(t *testing.T) {
walkTree(tree, tree.name, func(path string, n *Node) {