mirror of
https://github.com/orhun/systeroid
synced 2024-10-06 23:59:10 +00:00
test(command): update command module tests
This commit is contained in:
parent
5bc968ee28
commit
fec659df7b
|
@ -132,6 +132,14 @@ mod tests {
|
|||
Command::Scroll(ScrollArea::Documentation, Direction::Down, 4),
|
||||
"scroll docs down 4",
|
||||
),
|
||||
(
|
||||
Command::Scroll(ScrollArea::Section, Direction::Top, 1),
|
||||
"scroll section top 1",
|
||||
),
|
||||
(
|
||||
Command::Scroll(ScrollArea::List, Direction::Bottom, 1),
|
||||
"scroll list bottom 1",
|
||||
),
|
||||
] {
|
||||
assert_eq!(command, Command::from_str(value).unwrap());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue