Skip to content

Commit 1c168bb

Browse files
committed
Update test-delete-prune.jl
1 parent 3595142 commit 1c168bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test-delete-prune.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ end
3636
mtg = read_mtg(file)
3737
Node(mtg, MutableNodeMTG("/", "Branch", 1, 2))
3838
length_start = length(mtg)
39-
@test_throws "Can't delete the root node if it has several children" delete_node!(mtg)
39+
VERSION >= v"1.7" && @test_throws "Can't delete the root node if it has several children" delete_node!(mtg)
4040
end
4141

4242
@testset "delete_node! with a user function" begin

0 commit comments

Comments
 (0)