12 lines
294 B
Rust
12 lines
294 B
Rust
#[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);
|
|
}
|
|
}
|