Skip to content

Commit 8b8fa48

Browse files
committed
test: fix count nodes test
1 parent cba7ec0 commit 8b8fa48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_array_node.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@ end
198198
get_op(tree)
199199

200200
# Test that count_nodes doesn't allocate (after warm-up)
201-
count_nodes(tree)
202-
@check_allocs count_nodes(tree) = count_nodes(tree)
201+
@check_allocs count_nodes_test(t) = count_nodes(t)
202+
count_nodes_test(tree)
203203

204204
# Test that tree traversal doesn't allocate
205205
function traverse_tree(n::ArrayNode)

0 commit comments

Comments
 (0)