removed unused enum

This commit is contained in:
Nickiel12 2021-12-22 18:32:07 -08:00
parent 6ad9ae8404
commit f3e237b11d
2 changed files with 0 additions and 3 deletions

View file

@ -2,7 +2,6 @@ use super::stream_states::{state_update::StateUpdate, stream_states_class::Strea
pub enum StateMessage {
StateUpdate(StateUpdate),
GetStates,
CloseListener,
}

View file

@ -19,7 +19,6 @@ fn message_hander_can_handle_basic_message() {
for message in rx {
match message {
StateMessage::StateUpdate(update) => {handler.handle_update(update)},
StateMessage::GetStates => {panic!("Why is getstates being called in this test?");},
StateMessage::CloseListener => {break;},
};
}
@ -46,7 +45,6 @@ fn message_handler_can_handle_multiple_messages() {
for message in rx {
match message {
StateMessage::StateUpdate(update) => {handler.handle_update(update)},
StateMessage::GetStates => {panic!("Why is getstates being called in this test?");},
StateMessage::CloseListener => {break;},
};
}