From 573734008a8a0659e6cfe832db382b9206e3f4f1 Mon Sep 17 00:00:00 2001 From: "Andres O. Vela" Date: Sun, 29 Oct 2023 20:03:11 +0100 Subject: [PATCH] Fix test --- embassy-time/src/driver_mock.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-time/src/driver_mock.rs b/embassy-time/src/driver_mock.rs index c7cab342..becb6bfd 100644 --- a/embassy-time/src/driver_mock.rs +++ b/embassy-time/src/driver_mock.rs @@ -15,7 +15,7 @@ use crate::{Duration, Instant}; /// /// ```ignore /// fn has_a_second_passed(reference: Instant) -> bool { -/// Instant::now().duration_since(reference) > Duration::from_secs(1) +/// Instant::now().duration_since(reference) >= Duration::from_secs(1) /// } /// /// fn test_second_passed() {