Skip to content

Commit f376eaf

Browse files
authored
Merge pull request halfrost#109 from tntC4stl3/problem226
修复226题单元测试的问题
2 parents a6ee37e + a15f91f commit f376eaf

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)