We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7e36a8 commit 25e8086Copy full SHA for 25e8086
tests/tree.test
@@ -111,7 +111,7 @@ test tree-2.3 "walk bfs" {
111
} {rootnode childnode1 root.c2 root.c3 childnode2 n.c4 n.c5 n.c5.c6}
112
113
test tree-3.1 "delete nodes" {
114
- $pt delete node6
+ $pt delete 6
115
set result {}
116
$pt walk root bfs {action n} {
117
if {$action == "enter"} {
tree.tcl
@@ -143,7 +143,7 @@ tree method getall {node} {
143
tree method insert {node {index end}} {
144
145
# Make a new node and add it to the tree
146
- set childname node[incr nodeid]
+ set childname [incr nodeid]
147
dict set tree $childname {}
148
149
# The new node has no children
0 commit comments