Skip to content

Commit 641b22f

Browse files
committed
test(timer): fix timer read test
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
1 parent 71d66ab commit 641b22f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

alioth/src/firmware/acpi/reg_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ fn test_pm_timer() {
2020
let timer = AcpiPmTimer::default();
2121
let v1 = timer.read(0, 4).unwrap();
2222
let v2 = timer.read(0, 4).unwrap();
23-
assert!(v2 > v1);
23+
assert!(v2 >= v1);
2424
}

0 commit comments

Comments
 (0)