removed unused enum
This commit is contained in:
parent
6ad9ae8404
commit
f3e237b11d
2 changed files with 0 additions and 3 deletions
|
@ -2,7 +2,6 @@ use super::stream_states::{state_update::StateUpdate, stream_states_class::Strea
|
||||||
|
|
||||||
pub enum StateMessage {
|
pub enum StateMessage {
|
||||||
StateUpdate(StateUpdate),
|
StateUpdate(StateUpdate),
|
||||||
GetStates,
|
|
||||||
CloseListener,
|
CloseListener,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,6 @@ fn message_hander_can_handle_basic_message() {
|
||||||
for message in rx {
|
for message in rx {
|
||||||
match message {
|
match message {
|
||||||
StateMessage::StateUpdate(update) => {handler.handle_update(update)},
|
StateMessage::StateUpdate(update) => {handler.handle_update(update)},
|
||||||
StateMessage::GetStates => {panic!("Why is getstates being called in this test?");},
|
|
||||||
StateMessage::CloseListener => {break;},
|
StateMessage::CloseListener => {break;},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -46,7 +45,6 @@ fn message_handler_can_handle_multiple_messages() {
|
||||||
for message in rx {
|
for message in rx {
|
||||||
match message {
|
match message {
|
||||||
StateMessage::StateUpdate(update) => {handler.handle_update(update)},
|
StateMessage::StateUpdate(update) => {handler.handle_update(update)},
|
||||||
StateMessage::GetStates => {panic!("Why is getstates being called in this test?");},
|
|
||||||
StateMessage::CloseListener => {break;},
|
StateMessage::CloseListener => {break;},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue