Skip to content

Commit

Permalink
update test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
visr committed Jan 26, 2024
1 parent 89e2ca9 commit 700941d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/test/validation_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 700941d

Please sign in to comment.