Extend handle_message_pong test
This PR adds a subscription listener to the handle_message_pong test
to check that the Event message is published.
This extension is mostly to test my understanding of the channels,
futures and comms stack interactions.
@@ -347,7 +347,7 @@ mod test {
_ => panic!("Unexpected event"),
}
})
- .expect("Couldn't spawn future");
+ .expect("Couldn't spawn subscription future");
pool.spawner().spawn(service.run()).unwrap();
pool.run_until_stalled();
