Skip to content

Commit

Permalink
Update test/test_trees_and_forests.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Fishman <[email protected]>
  • Loading branch information
JoeyT1994 and mtfishman authored Nov 1, 2023
1 parent f35a135 commit 888e80b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_trees_and_forests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ end
@testset "Test Spanning Trees $g_string, $alg" for (g_string, g) in TestTreesAndForests.gs,
alg in TestTreesAndForests.algs

s_tree = spanning_tree(alg, g)
s_tree = spanning_tree(g; alg)
@test is_tree(s_tree)
@test Set(vertices(s_tree)) == Set(vertices(g))
@test issubset(Set(edges(s_tree)), Set(edges(g)))
Expand Down

0 comments on commit 888e80b

Please sign in to comment.