Skip to content

Commit da36a7b

Browse files
committed
fix: tweak version check
1 parent 1c2749b commit da36a7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/openvino/tests/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,5 @@ pub fn is_version_pre_2024_2() -> bool {
9191
let mut parts = version.parts();
9292
let year: usize = parts.next().unwrap().parse().unwrap();
9393
let minor: usize = parts.next().unwrap().parse().unwrap();
94-
year <= 2024 && minor < 2
94+
year <= 2024 || (year == 2024 && minor < 2)
9595
}

0 commit comments

Comments
 (0)