diff --git a/core/test/validation_test.jl b/core/test/validation_test.jl index 1d6dd4ce4..97b782b6d 100644 --- a/core/test/validation_test.jl +++ b/core/test/validation_test.jl @@ -250,7 +250,7 @@ end @test logger.logs[3].kwargs[:control_state] == "" @test logger.logs[4].level == Error @test logger.logs[4].message == "Cannot connect a basin to a fractional_flow." - @test logger.logs[4].kwargs[:edge_id] == 7 + @test logger.logs[4].kwargs[:edge_id] == 6 @test logger.logs[4].kwargs[:id_src] == NodeID(2) @test logger.logs[4].kwargs[:id_dst] == NodeID(8) end @@ -358,10 +358,10 @@ end @test length(logger.logs) == 2 @test logger.logs[1].level == Error @test logger.logs[1].message == - "Invalid edge type 'foo' for edge #1 from node #1 to node #2." + "Invalid edge type 'foo' for edge #0 from node #1 to node #2." @test logger.logs[2].level == Error @test logger.logs[2].message == - "Invalid edge type 'bar' for edge #2 from node #2 to node #3." + "Invalid edge type 'bar' for edge #1 from node #2 to node #3." end @testitem "Subgrid validation" begin