Add remove channel method

Move test client fields into appstate and fix tests

Co-authored-by: max <max@zed.dev>
This commit is contained in:
Mikayla Maki 2023-08-01 16:06:21 -07:00
parent 56d4d5d1a8
commit 74437b3988
No known key found for this signature in database
15 changed files with 534 additions and 256 deletions

View file

@ -575,7 +575,10 @@ impl Client {
}),
);
if prev_handler.is_some() {
panic!("registered handler for the same message twice");
panic!(
"registered handler for the same message {} twice",
std::any::type_name::<M>()
);
}
Subscription::Message {