mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Do a double operation first before cast to long (#4353)
This commit is contained in:
@@ -92,9 +92,12 @@ public class TimedEventsTests
|
||||
return false;
|
||||
});
|
||||
|
||||
Assert.True (timedEvents.Timeouts.Keys [0] > 0);
|
||||
|
||||
// Should execute on first RunTimers call
|
||||
timedEvents.RunTimers ();
|
||||
|
||||
Assert.Empty (timedEvents.Timeouts);
|
||||
Assert.True (executed);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user