Skip to content

Commit

Permalink
Update bfs.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Tortar authored Apr 28, 2024
1 parent 9fd1a3a commit a3b7a9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/iterators/bfs.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@testset "BFSIterator" begin
g = Graph()
error_str = "Some source nodes for the iterator are not in the graph"
@test_throws error_str BFSIterator(g, 3)
error_exc = ErrorException("Some source nodes for the iterator are not in the graph")
@test_throws error_exc BFSIterator(g, 3)
g = path_graph(7)
add_edge!(g, 6, 3)
add_edge!(g, 3, 1)
Expand Down

0 comments on commit a3b7a9e

Please sign in to comment.