feat: Refactor all keybinding tips into a dynamically changing menu that can be invoked via '?' [#32]
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::models::servarr_data::ActiveKeybindingBlock;
|
||||
use crate::models::Route;
|
||||
use pretty_assertions::assert_eq;
|
||||
|
||||
#[test]
|
||||
fn test_from_active_keybinding_block_to_route() {
|
||||
assert_eq!(Route::from(ActiveKeybindingBlock::Help), Route::Keybindings);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user