Skip to content

Commit 5a51515

Browse files
committed
fix: tweak version check
1 parent 167e8db commit 5a51515

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
@@ -90,5 +90,5 @@ pub fn is_version_pre_2024_2() -> bool {
9090
let mut parts = version.parts();
9191
let year: usize = parts.next().unwrap().parse().unwrap();
9292
let minor: usize = parts.next().unwrap().parse().unwrap();
93-
year <= 2024 && minor < 2
93+
year <= 2024 || (year == 2024 && minor < 2)
9494
}

0 commit comments

Comments
 (0)