diff --git a/codes/go/chapter_tree/binary_search_tree_test.go b/codes/go/chapter_tree/binary_search_tree_test.go index 0d0369a7..d98e5d66 100644 --- a/codes/go/chapter_tree/binary_search_tree_test.go +++ b/codes/go/chapter_tree/binary_search_tree_test.go @@ -23,7 +23,7 @@ func TestBinarySearchTree(t *testing.T) { fmt.Println("二叉树的最小结点为:", node.Val) // 查找结点 - node = bst.Search(5) + node = bst.Search(7) fmt.Println("查找到的结点对象为", node, ",结点值 =", node.Val) // 插入结点