Skip to content

Commit 29fe0ff

Browse files
authored
add test
1 parent 2452b53 commit 29fe0ff

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/misc.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,10 @@ end
8282
(from, to) = first(edge_labels(graph))
8383
@test graph[from, to] === 1
8484
end
85+
86+
@testset "No transitiveclosure! for MetaGraph" begin
87+
graph = MetaGraph(
88+
complete_graph(2), ["3" => nothing, "2" => nothing], [("3", "2") => 1]
89+
)
90+
@test_throws ArgumentError transitiveclosure!(graph)
91+
end

0 commit comments

Comments
 (0)