From b7e1638c088f01358280970f0f82e859d0c5abed Mon Sep 17 00:00:00 2001 From: Matt Fishman Date: Tue, 16 Apr 2024 20:10:49 -0400 Subject: [PATCH] Update test/test_namedgraph.jl Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- test/test_namedgraph.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_namedgraph.jl b/test/test_namedgraph.jl index e5b6125..99e3304 100644 --- a/test/test_namedgraph.jl +++ b/test/test_namedgraph.jl @@ -94,8 +94,10 @@ using Test: @test, @test_broken, @testset @test rename_vertices(NamedEdge("A", "B"), Dict(["A" => "C", "B" => "D"])) == NamedEdge("C", "D") @test rename_vertices(SimpleEdge(1, 2), Dict([1 => "C", 2 => "D"])) == NamedEdge("C", "D") - @test rename_vertices(v -> Dict(["A" => "C", "B" => "D"])[v], NamedEdge("A", "B")) == NamedEdge("C", "D") - @test rename_vertices(v -> Dict([1 => "C", 2 => "D"])[v], SimpleEdge(1, 2)) == NamedEdge("C", "D") + @test rename_vertices(v -> Dict(["A" => "C", "B" => "D"])[v], NamedEdge("A", "B")) == + NamedEdge("C", "D") + @test rename_vertices(v -> Dict([1 => "C", 2 => "D"])[v], SimpleEdge(1, 2)) == + NamedEdge("C", "D") end @testset "NamedGraph" begin