From 2f011a57dd54019474078130950181d3daf42e9a Mon Sep 17 00:00:00 2001 From: Dorota Czaplejewicz Date: Mon, 28 Nov 2022 15:02:32 +0000 Subject: [PATCH] test: Mark loop scheduling test for rewrite --- src/event_loop/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/event_loop/mod.rs b/src/event_loop/mod.rs index 561c7495..571b0a8d 100644 --- a/src/event_loop/mod.rs +++ b/src/event_loop/mod.rs @@ -184,6 +184,9 @@ mod test { } } + // TODO: This should only test the scheduling in handle_event. + // This means it should be separated from actual application logic, + // and use a mock state instead. #[test] fn schedule_hide() { let start = Instant::now(); // doesn't matter when. It would be better to have a reproducible value though