Skip to content

Commit a15f91f

Browse files
committed
Fix problem 226 test case
1 parent a6ee37e commit a15f91f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

leetcode/0226.Invert-Binary-Tree/226. Invert Binary Tree_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func Test_Problem226(t *testing.T) {
5050
_, p := q.ans226, q.para226
5151
fmt.Printf("【input】:%v ", p)
5252
root := structures.Ints2TreeNode(p.one)
53-
fmt.Printf("【output】:%v \n", structures.Tree2Preorder(invertTree(root)))
53+
fmt.Printf("【output】:%v \n", structures.Tree2ints(invertTree(root)))
5454
}
5555
fmt.Printf("\n\n\n")
5656
}

0 commit comments

Comments
 (0)