Skip to content

Commit 672a974

Browse files
committed
test(timer): fix timer read test
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
1 parent 4575b33 commit 672a974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)