Issue Description
In the MultiPacketWorld implementation (tests/world.rs line 230), the process_messages method uses direct assignment instead of extending messages:
self.messages = collect_multi_packet(resp).await;
This means if process_messages is called multiple times on the same MultiPacketWorld instance, previous messages will be overwritten rather than accumulated.
Expected Behavior
Messages should be accumulated across multiple calls to process_messages to preserve existing test behavior.
Proposed Solution
Change the direct assignment to extend the existing messages:
self.messages.extend(collect_multi_packet(resp).await);
Context
This issue was identified during the review of PR #352 which extracted the shared MultiPacket test helper. While the helper extraction was successful, this behavioral change was introduced as a side effect.
References
Issue Description
In the MultiPacketWorld implementation (tests/world.rs line 230), the
process_messagesmethod uses direct assignment instead of extending messages:This means if
process_messagesis called multiple times on the sameMultiPacketWorldinstance, previous messages will be overwritten rather than accumulated.Expected Behavior
Messages should be accumulated across multiple calls to
process_messagesto preserve existing test behavior.Proposed Solution
Change the direct assignment to extend the existing messages:
Context
This issue was identified during the review of PR #352 which extracted the shared MultiPacket test helper. While the helper extraction was successful, this behavioral change was introduced as a side effect.
References