fw: fix tests
parent
039dedb01a
commit
0ccbf37bed
|
@ -281,6 +281,7 @@ mod tests {
|
|||
Context,
|
||||
TimeSelect,
|
||||
State,
|
||||
Transition,
|
||||
};
|
||||
use crate::input::Buttons;
|
||||
use embedded_graphics::{
|
||||
|
@ -303,7 +304,7 @@ mod tests {
|
|||
|
||||
{
|
||||
let s: &mut dyn State<SimulatorDisplay<Rgb565>> = &mut ts;
|
||||
s.enter();
|
||||
s.enter(Transition::TimeSelect);
|
||||
s.tick(&Context{
|
||||
buttons: buttons.clone(),
|
||||
ticks: 0,
|
||||
|
|
Loading…
Reference in New Issue