From 6267636c23589a87d5f30e617e1bca6cb71f59ba Mon Sep 17 00:00:00 2001 From: Miles Date: Tue, 28 May 2024 17:32:38 -0400 Subject: [PATCH] Improve variable name --- test/test_namedgraph.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_namedgraph.jl b/test/test_namedgraph.jl index 77365e8..48bc3d2 100644 --- a/test/test_namedgraph.jl +++ b/test/test_namedgraph.jl @@ -677,8 +677,8 @@ end @test ne(st) == 4 @test nv(st) == 5 # Test that there are no degree-zero vertices in output: - zv = filter(v -> degree(st, v) == 0, vertices(st)) - @test isempty(zv) + zero_deg_verts = filter(v -> degree(st, v) == 0, vertices(st)) + @test isempty(zero_deg_verts) for e in es @test has_edge(st, e) end