Skip to content

Commit 7b04f87

Browse files
committed
update promote test
1 parent f359f87 commit 7b04f87

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/miscellaneous/promote.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
leaf = Leaf(0, [0])
66
node = Node(1, 1, leaf, leaf)
77

8-
[leaf, node]
9-
[node, leaf]
8+
ln = [leaf, node]
9+
@test length(ln) == 2
10+
11+
nl = [node, leaf]
12+
@test length(nl) == 2
1013

1114
end # @testset

0 commit comments

Comments
 (0)