We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3595142 commit 1c168bbCopy full SHA for 1c168bb
1 file changed
test/test-delete-prune.jl
@@ -36,7 +36,7 @@ end
36
mtg = read_mtg(file)
37
Node(mtg, MutableNodeMTG("/", "Branch", 1, 2))
38
length_start = length(mtg)
39
- @test_throws "Can't delete the root node if it has several children" delete_node!(mtg)
+ VERSION >= v"1.7" && @test_throws "Can't delete the root node if it has several children" delete_node!(mtg)
40
end
41
42
@testset "delete_node! with a user function" begin
0 commit comments