Skip to content

Commit

Permalink
Add empty-list-handling to inv
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed Jan 26, 2024
1 parent bbfd38b commit 5eb1ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mbt/model/ccv_model.qnt
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ module ccv_model {
val EventuallyMatureOnProviderInv =
runningConsumers.forall(
consumer => {
val sentPackets = currentState.providerState.sentVscPacketsToConsumer.get(consumer).toSet()
val sentPackets = currentState.providerState.sentVscPacketsToConsumer.getOrElse(consumer, List()).toSet()
sentPackets.forall(
packet =>
// consumer still has time to respond
Expand Down

0 comments on commit 5eb1ae5

Please sign in to comment.